duckduckgo-api

DuckDuckGo API - How to get more results?

自闭症网瘾萝莉.ら 提交于 2019-12-20 02:50:33
问题 The default search using the DuckDuckGo API returns only the results on the first page (around 25 I guess). Is there any way to get more results or navigate to the 2nd, 3rd pages of the search results? Websites like Faroo have a parameter called s (which stands for start) which can be set to 1 if we want the first 10 results, to 11 if we want the next 10 results and so on. Is there something like that for DuckDuckGo, too? 回答1: According to DuckDuckGo Search API documentation, all the

Duckduckgo API getting search results

◇◆丶佛笑我妖孽 提交于 2019-12-03 05:01:24
问题 What I want to do is just submitting string queries (the equivalent of typing into the search bar by hand) and saving the URL of the first results (if there are any). I have asked a similar question ( Python search scraping) and the answer to it works well with google my problem is that I can't find Duckduckgo's search api address anywhere. Could you help me or suggest antoher way of doing this? 回答1: tl;dr -- Screen scrape https://duckduckgo.com/html/?q={search_terms} As other answerers have