DuckDuckGo Scraper
3 days trial then $20.00/month - No credit card required now
DuckDuckGo Scraper
3 days trial then $20.00/month - No credit card required now
Search anything from DuckDuckGo without any limits! Get images, videos, news, or search results from DuckDuckGo right away! Extremely fast, unlimited usage. Adjust your results by region or safety modes. Export your data by XML, JSON, CSV, Excel, or HTML!
Actor - DuckDuckGo Scraper
DuckDuckGo scraper
Since DuckDuckGo doesn't provide a good and free API, this actor should help you to retrieve data from it.
The DuckDuckGo data scraper supports the following features:
-
Search any keyword - You can search any keyword you would like to have and get the results right away!
-
Search for images, videos, news, or default modes - Search for anything. Not just the default search mode but also for images, videos, and news.
-
Get results by region - Depending on your needs, you can change the settings and retrieve the results by specific regions.
-
Adjust safety modes - Change the safety modes on DuckDuckGo. Turn it on, or off, and make it run in moderate or strict modes.
Bugs, fixes, updates, and changelog
This scraper is under active development. If you have any feature requests you can create an issue from here.
Input Parameters
The input of this scraper should be JSON containing the list of pages on DuckDuckGo that should be visited. Possible fields are:
-
search
: (Required) (String) Keyword that you want to search on DuckDuckGo. -
searchMode
: (Required) (String) Which mode do you want to start the DuckDuckGo scraper.images
,news
,videos
, anddefault
are the possible values that can be provided. -
region
: (Required) (String) Regions you want to use the DuckDuckGo search engine. To retrieve the results from all regions, it should bewt-wt
. -
safeSearch
: (Required) (String) Which safety mode do you want to initiate the DuckDuckGo search? The possible values areOFF
,MODERATE
, orSTRICT
. -
endPage
: (Optional) (Number) Final number of page that you want to scrape. The default isInfinite
. This applies to allsearch
requests andstartUrls
individually. -
maxItems
: (Optional) (Number) You can limit scraped items. This should be useful when you search through the big lists or search results. -
proxy
: (Required) (Proxy Object) Proxy configuration.
This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.
Compute Unit Consumption
The actor is optimized to run blazing fast and scrape as many items as possible. Therefore, it forefronts all search requests. If the actor doesn't block very often it'll scrape 100 listings in 10 seconds with ~0.001-0.002 compute units.
DuckDuckGo Scraper Input example
1{ 2 "search": "vodafone", 3 "searchMode": "news", 4 "region": "uk-en", 5 "safeSearch": "OFF", 6 "proxy": { 7 "useApifyProxy":true 8 } 9}
During the Run
During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.
If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.
DuckDuckGo Export
During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.
You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this DuckDuckGo actor.
Scraped DuckDuckGo Properties
The structure of each item in DuckDuckGo looks like this:
Search Result
1{ 2 "title": "My Vodafone account | view your bill, offers and settings", 3 "description": "My <b>Vodafone</b> log in Quickly update and manage your online account through your My <b>Vodafone</b> account. Check your bill and data usage, make a payment, top up your Pay as you go plan, and more. Take me to log in Upgrade Upgrade your existing plan, find great deals on the latest phones and see how much you could save with a flexible SIM only plan.", 4 "rawDescription": "My <b>Vodafone</b> log in Quickly update and manage your online account through your My <b>Vodafone</b> account. Check your bill and data usage, make a payment, top up your Pay as you go plan, and more. Take me to log in Upgrade Upgrade your existing plan, find great deals on the latest phones and see how much you could save with a flexible SIM only plan.", 5 "hostname": "www.vodafone.co.uk", 6 "icon": "https://external-content.duckduckgo.com/ip3/www.vodafone.co.uk.ico", 7 "url": "https://www.vodafone.co.uk/login" 8}
Image Result
1{ 2 "height": 538, 3 "image": "https://d2t2wfirfyzjhs.cloudfront.net/images/ex-desc/vodafone-business-logo.jpg", 4 "image_token": "487e0ca4fc92f9674e6458291c1afa9b8c6fa57aa47b3e22e6f800de0c2c3b08", 5 "source": "Bing", 6 "thumbnail": "https://tse4.mm.bing.net/th?id=OIP.-0ADG3aYoGKCbuxS8R6WsAHaD5&pid=Api", 7 "thumbnail_token": "f6a4af1fca73884f37c9e027093ba41ae0fd732761d003f94aa7dad8ee9e804d", 8 "title": "Vodafone Business Broadband Cashback Offers, Discounts & Deals for ...", 9 "url": "https://www.topcashback.co.uk/vodafone-business-broadband/", 10 "width": 1024 11}
Video Result
1{ 2 "url": "https://www.youtube.com/watch?v=bvB0ulL83e4", 3 "title": "Vodafone Idea Troubles Mount As Vendors Consider Asking For Advance Payments | Trading Hour", 4 "description": "Vendors are likely to consider seeking advance payments from Vodafone-Idea for Jan 2023 onwards. Sources told CNBC-TV18 that pending dues, payment history by Vodafone-Idea are not inspiring confidence among vendors. Sources added further that Indus Tower board may consider \"drastic measures\" like discontinuing services to Voda Idea in case of ...", 5 "image": "https://tse3.mm.bing.net/th?id=OVF.T5ONUyMG3qmy7pVlTY8pXw&pid=Api", 6 "duration": "2:46", 7 "publishedOn": "YouTube", 8 "published": "2023-01-13T06:31:06.0000000", 9 "publisher": "CNBC-TV18", 10 "viewCount": 722 11}
News Result
1{ 2 "date": 1674213240, 3 "excerpt": "<b>Vodafone</b> UK network chief Andrea Dona called for more government funding for SA 5G as the operator commenced a trial of the tech.", 4 "image": "https://www.mobileworldlive.com/wp-content/uploads/2022/01/20220113_5g_vodafone-e1656497723791.jpg", 5 "relativeTime": "9 hours ago", 6 "syndicate": "Bing", 7 "title": "Vodafone claims UK SA 5G first", 8 "url": "https://www.mobileworldlive.com/featured-content/home-banner/vodafone-claims-uk-sa-5g-first/", 9 "isOld": false 10}
Contact
Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.
Actor Metrics
10 monthly users
-
2 stars
>99% runs succeeded
Created in Jan 2023
Modified 7 hours ago