-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP Error 429: Too Many Request. Limit on total number of requests? #91
Comments
Actually I just ran 120 calls with |
Okay, I now had the same error. However I found the following comment in the source code at https://github.com/kulla/Google-Search-API/blob/5dbede3bdef5a1dc822c27e0e4dde94235035441/googleapi/modules/utils.py#L81-L88 # @author JuaniFilardo:
# Workaround to switch between http and https, since this maneuver
# seems to avoid the 503 error when performing a lot of queries.
# Weird, but it works.
# You may also wanna wait some time between queries, say, randint(50,65)
# between each query, and randint(180,240) every 100 queries, which is
# what I found useful. I hope it helps 😄 |
I feel there is also a limit on the size of the query in the request. |
@kulla Can you tell where i have to add |
im trying like this, it is correct ?
|
Yes, |
I keep meeting such error after about 100 requests.
Error accessing: http://www.google.com/search?nl=en&q=Wikipedia+Music+Business+Management&start=0&num=10&tbs=
HTTP Error 429: Too Many Request
Is there a limit on the total number of requests for google search? Does the fake_useragent malfunction?
Previously, around August, I can make like 1200 requests, as long as there is a time.sleep(2) between different requests. But now, it doesn't work well anymore.
The text was updated successfully, but these errors were encountered: