Skip to content
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

pytrends TooManyRequestsError: The request failed: Google returned a response with code 429 #631

Open
akshmita opened this issue Oct 10, 2024 · 2 comments

Comments

@akshmita
Copy link

I am trying to use pytrends to get historical data
Example:
from pytrends.request import TrendReq

pytrends = TrendReq(hl='en-US', tz=360)
kw_list = ["HDFC bank"]
pytrends.build_payload(kw_list, cat=0, timeframe='today 5-y', geo='', gprop='')
pytrends.interest_over_time()

it gives the following error
TooManyRequestsError: The request failed: Google returned a response with code 429
How to address this issue?

@arkaydeus
Copy link

Looks like google have upgraded their anti-bot measures. Currently this package is broken :-(

@akshmita
Copy link
Author

Any other library to scrap the google trends data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants