pytrends icon indicating copy to clipboard operation
pytrends copied to clipboard

Interest Over Time returns different values if run on hosted server

Open fedebenji opened this issue 3 years ago • 1 comments

Hello, does anybody knows why I get different results out of the very same code if I run it from my laptop (same values as I get on trends.google.com) rather then if I run it from pythonanywhere server?

Same Interest Over Time params, same code, very different results... any clue?

Thanks!!

fedebenji avatar May 04 '21 11:05 fedebenji

Hi there, I am assuming that this is because the code is being run at two different times - google trends data change slightly over time because of the extraction procedure google uses. It's a problem I have run into before, and something researchers using google trends deal with a lot. The typical solution seems to just be to take three or four different queries on different days and average them.

beniaminogreen avatar May 09 '21 05:05 beniaminogreen