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

429 Error #618

Open
rezar362 opened this issue Mar 21, 2024 · 7 comments
Open

429 Error #618

rezar362 opened this issue Mar 21, 2024 · 7 comments

Comments

@rezar362
Copy link

The library has stopped working, any query for interest over time returns:

pytrend.build_payload(kw_list=['pizza', 'bagel'])
pytrend.interest_over_time()

raise exceptions.TooManyRequestsError.from_response(response)
pytrends.exceptions.TooManyRequestsError: The request failed: Google returned a response with code 429

Here is the Python session :
Python 3.9.6 (default, Oct 18 2022, 12:41:40)
[Clang 14.0.0 (clang-1400.0.29.202)] on darwin

@mk-hasan
Copy link

sam here since few days.

@michaelmcgarry
Copy link

Been facing this issue for around a week and having no success with workarounds like taking the nid_cookie from requests / selenium. Free trial account with SERP API seems to be able to scrape the data, but they don't have all of the functionality that I need sadly.

@dteite
Copy link

dteite commented Apr 3, 2024

Same problem

@vijayoct27
Copy link

I am facing the same issue

@AhmadKhanSenpai
Copy link

AhmadKhanSenpai commented Apr 13, 2024

Its because Google trends have changed their backend, you need a token to get the information from the website and google is not letting pytrends to get it through requests module.

@KensakuKose
Copy link

I'm facing same issue too.

@MohammedN-hash
Copy link

Any fix yet?

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

8 participants