GeneralMills/pytrends

Sudden onset of 429 errors

dvech432 opened this issue · 4 comments

I use version 4.9.2 and starting from today I am getting 429 error for all requests. I sent a simple Pytrends code snippet to some co-workers and they are getting it to.

Any suggestions, work arounds? Did Google change something and can we expect it to be a temporary issue?

EDIT: yesterday it worked fine for some hours, however, today it's bad again. The most impacted command is 'pytrends.related_queries()'. The 'pytrends.interest_over_time()' command is not great, around 2-3 retries are needed to get the results.

same issue
image

me too :(
Screen Shot 2023-07-18 at 12 30 05 PM

update this worked for me #563 (comment)

2uanDM commented

update this worked for me #563 (comment)

You mean that if you create a new class like in the above comment, then you don't get the 429 if you change the time frame to 'now 1-H' ?

The weird things is that, if I change the time frame to 'today 5-year', it works ?