Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine. Downloading files and images to a local hard drive.
MIT License
927
stars
117
forks
source link
getting ratelimit exception on all existing code. #204
I am getting this exception : duckduckgo_search.exceptions.DuckDuckGoSearchException: _aget_url() https://links.duckduckgo.com/d.js DuckDuckGoSearchException: Ratelimit
I have existing code that worked for 6 weeks and stopped today-- it is was in this form : (query was given)
with DDGS() as ddgs:
search_results_list = [r for r in ddgs.text(f"{query}", max_results=num_results,region="us-en",
safesearch="off",
timelimit="m",)]
Then I tried an example from the site:
results = DDGS().text('live free or die', region='wt-wt', safesearch='off', timelimit='y', max_results=10)
and this
results = DDGS().text("python programming", max_results=5)
print(results)
I was running 4.3
Now I am running 5.1 (unable to get 5.2 to build wheel)
Same results
Hi --
I am getting this exception : duckduckgo_search.exceptions.DuckDuckGoSearchException: _aget_url() https://links.duckduckgo.com/d.js DuckDuckGoSearchException: Ratelimit
I have existing code that worked for 6 weeks and stopped today-- it is was in this form : (query was given) with DDGS() as ddgs: search_results_list = [r for r in ddgs.text(f"{query}", max_results=num_results,region="us-en", safesearch="off", timelimit="m",)]
Then I tried an example from the site: results = DDGS().text('live free or die', region='wt-wt', safesearch='off', timelimit='y', max_results=10)
and this results = DDGS().text("python programming", max_results=5) print(results)
I was running 4.3 Now I am running 5.1 (unable to get 5.2 to build wheel) Same results
thank you --