Closed maxlorax closed 3 months ago
1) Just use a proxy. The api response size is very small, about 15 Kb. That is, there are more than 50000 responses per 1 gigabyte of traffic.
2) Also you can try another backend, especially if you need no more than 23 results. temp = DDGS().text(keywords=query, max_results=max_num_of_results, safesearch="moderate", backend="html")
Thank you very much my guy! I'll be looking into the first option you suggested because I need to perform bursts of about 50-100 searches.
Thank you. I came here because I have the same RateLimit issue. Using backend='html'
solved the problem.
Hello, I still am still encountering Ratelimit exceptions when trying to search for more than 10 queries at a time (in a for loop). I have found a work around consisting of calling
time.sleep(0.4)
every run but there has to be some way thats more elegant right?