Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interest by region seems to return different values on the same request sent a few mins apart #348

Closed
stuartlynn opened this issue Nov 21, 2019 · 1 comment

Comments

@stuartlynn
Copy link

I have been trying to use the interest_by_region function by constructing the payload

pytrends.build_payload(kw_list, cat=0, timeframe='{} {}'.format(start_day,end_day), geo='US', gprop='')

then running

pytrends.interest_by_region()

if I run this then wait a few minutes and run it again, I get different results which is weird. Any idea why the exact same function call, run a few mins apart would give different results?

Thanks

@TickTack-z
Copy link
Contributor

The API will send request to Google and only return what Google returns. It is possible that Google updated the underling data. Can you provide the full code you tested? including the kw_list and start_day, end_day.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants