GeneralMills / pytrends

Pseudo API for Google Trends
Other
3.28k stars 821 forks source link

The data scraped is not consistent with the data present on the website from time to time. #577

Open EmWillWei opened 1 year ago

EmWillWei commented 1 year ago

We are currently scraping trend data for hundreds of keywords. However, we have noticed discrepancies between the data obtained through Pytrends and the data displayed on the website, which seems to fluctuate at times.

For instance, when scrapping https://trends.google.com/trends/explore?date=today%205-y&q=hellosign&hl=en-US, we encountered some anomalous zero data points after 2022, but the data obtained from Selenium seems to be accurate.

image

image

FiveTwenty2 commented 1 year ago

I am also experiencing a similar problem.

A search with the following url displays correctly on the Google Trends website: https://trends.google.com/trends/explore?date=today%205-y&geo=ZA&q=Shoprite&hl=en

image

However, it does not seem to be working via pytrends:

image

I have an instance running on pythonanywhere. Using the same code in pytrends pulls data with the error zeros, but in different places!

image

Terseus commented 1 year ago

This is a known problem, see #550 and #534.