GeneralMills / pytrends

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

Pytrends encountering "Error 500" from Google for periods less than now 7-d - Seeking community insights #593

Open Helldez opened 11 months ago

Helldez commented 11 months ago

Hi everyone,

I hope you're all doing well. I wanted to discuss a concerning issue I've been facing with Pytrends lately. For the past three weeks, I've been consistently receiving "Error 500" responses from Google when trying to fetch data for periods less than "now 7-d" (i.e., the last 7 days).

This is rather frustrating as it seems to prevent us from accessing the data altogether. It appears that Google's API is returning an internal server error (Error 500), making it impossible to retrieve the desired data.

I'm reaching out to the community to see if anyone else has encountered a similar problem. Have you been experiencing "Error 500" responses when attempting to fetch short-term data with Pytrends? Please share your experiences and any insights you might have regarding this issue.

Furthermore, I'm wondering whether this problem could be related to the urllib library or any other potential causes. It's essential to identify the root of the problem, so any information about recent changes to the urllib library or other relevant factors would be valuable.

Let's collaborate and investigate this matter together. If you have encountered this issue or have any knowledge about its potential causes, please join the discussion.

Thank you all for your time and support!