omkarcloud / duckduckgo-scraper

DuckDuckGo Scraper helps you collect search results from DuckDuckGo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DuckDuckGo Scraper Featured Image

✨ DuckDuckGo Scraper πŸš€

πŸ’¦ DuckDuckGo Scraper helps you collect search results from DuckDuckGo. πŸ’¦

(Programming Language - Python 3)

duckduckgo-scraper forks Repo stars duckduckgo-scraper License issues

View

Open in Gitpod


Disclaimer for DuckDuckGo Scraper Project

By using DuckDuckGo Scraper, you agree to comply with all applicable local and international laws related to data scraping, copyright, and privacy. The developers of DuckDuckGo Scraper will not be held liable for any misuse of this software. It is the user's sole responsibility to ensure adherence to all relevant laws regarding data scraping, copyright, and privacy, and to use DuckDuckGo Scraper in an ethical and legal manner, in line with both local and international regulations.

We take concerns related to the DuckDuckGo Scraper Project very seriously. If you have any inquiries or issues, please contact Chetan Jain at chetan@omkar.cloud. We will take prompt and necessary action in response to your emails.

πŸ‘‰ Explore Our Other Awesome Products

  • βœ… Botasaurus: The All-in-One Web Scraping Framework with Anti-Detection, Parallelization, Asynchronous, and Caching Superpowers.

DuckDuckGo Scraper helps you collect search results from DuckDuckGo.

πŸš€ Getting Started

1️⃣ Clone the Magic πŸ§™β€β™€:

git clone https://github.com/omkarcloud/duckduckgo-scraper
cd duckduckgo-scraper

2️⃣ Install Dependencies πŸ“¦:

python -m pip install -r requirements.txt

3️⃣ Let the Scraping Begin 😎:

python main.py

Find your data in the output directory.

DuckDuckGo Scraper CSV Result

Note: If you don't have Python installed. Follow this Simple FAQ here and you will have your DuckDuckGo data in next 5 Minutes

πŸ€” FAQs

❓ How to Scrape DuckDuckGo ?

  1. Open the main.py file.
  2. Update the queries list with the locations you are interested in. For example:
queries = [
  "Mango",
  "Watermelon",
]

DuckDuckGo.search(queries, max=10)
  1. Run it.
python main.py

Then find your data in the output directory.

❓ How to Scrape More DuckDuckGo Search Results Using Your DuckDuckGo API?

To scrape additional data, follow these steps to use our DuckDuckGo API. You can make 50 requests for free:

  1. Sign up on RapidAPI by visiting this link.

Sign Up on RapidAPI

  1. Then, subscribe to our Free Plan by visiting this link.

Subscribe to Free Plan

  1. Now, copy the API key.

Copy the API Key

  1. Use it in the scraper as follows:
DuckDuckGo.search("Orange", max=10, key="YOUR_API_KEY")
  1. Run the script, and you'll find your data in the output folder.
python main.py

The first 50 requests are free. After that, you can upgrade to the Pro Plan, which will get you 1000 requests for just $9.

❓ How did you build it?

We used Botasaurus, It's an All-in-One Web Scraping Framework with Anti-Detection, Parallelization, Asynchronous, and Caching Superpowers.

Botasaurus helped us cut down the development time by 50% and helped us focus only on the core extraction logic of the scraper.

If you are a Web Scraper, you should learn about Botasaurus here, because Botasaurus will save you countless hours in your life as a Web Scraper.

botasaurus

❓ Need More Help or Have Additional Questions?

For further help, contact us on WhatsApp. We'll be happy to help you out.

Contact Us on WhatsApp about DuckDuckGo Scraper

Made with ❀️ using Botasaurus Web Scraping Framework

About

DuckDuckGo Scraper helps you collect search results from DuckDuckGo.

License:MIT License


Languages

Language:Python 98.1%Language:Dockerfile 1.9%