GeneralMills / pytrends

Pseudo API for Google Trends
Other
3.12k stars 798 forks source link

related_queries and related_topics not working (infinite loop) #606

Open bnorambuenay opened 7 months ago

bnorambuenay commented 7 months ago

Hi all, seems like pytrends broke again.

When trying to use functions related_queries() and/or related_topics(), execution enters in an infinite loop, without returning anything.

Below a screenshot after doing a Keyboard Interruption: Screenshot 2023-11-29 at 16 02 13

Do you know what can be causing this error? How can we fix it?

mobilityvalley commented 7 months ago

My feeling is that the POST /explore request should post a payload (seems base64 encoded) but the python script does not, so Google detects the scraping

image

I don't understand what the browser is POSTing ....

Helldez commented 7 months ago

It's an invisible recaptcha

thanhtoan1196 commented 7 months ago

any updates?

nicktba commented 6 months ago

Yep, now the data is returning a response with 0 in it, essentially rendering pytrends useless right now