GeneralMills / pytrends

Pseudo API for Google Trends
Other
3.21k stars 813 forks source link

Problems with getting consistent values #559

Open antoine747 opened 1 year ago

antoine747 commented 1 year ago

Hi all,

Seems like this issue has been raised a few times already but I wasn't able to find any solutions.

Got some interest over time data a while ago for some companies and for a specific time period and the data seemed close to matching the values on Google Trends webpage.

Doing it again now for the same companies and for the same time period and I get completely different values, mostly 0s.

Here's what I did for for Apple:

from pytrends.request import TrendReq pytrends = TrendReq(hl='en-US', tz=360)

kw_list = ["Apple"] pytrends.build_payload(kw_list, cat=0, timeframe='2013-07-01 2013-12-31', geo='', gprop='') trends=pytrends.interest_over_time() print(trends)

I get mostly 0s but when looking at the same thing on Google Trends directly, values never reach 0.

Any help on this would be awesome.

Edit: Note that this only seems to be for when geo is set as Worldwide. When trying specific geo locations, it seems ok.

Thanks!

ste210 commented 1 year ago

I have this same issue.