pytrends
pytrends copied to clipboard
Interest Over Time returns different values if run on hosted server
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!!
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.