GeneralMills / pytrends

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

Interest Over Type Not Working for Topics #423

Open diegodacal opened 4 years ago

diegodacal commented 4 years ago

The endpoint for Interest Over Time is not returning correctly results for topics (tried using encoded %2F chars or /)

pytrends = TrendReq(hl='en-US', tz=360) keywords = ["/g/11c0vm752r"] pytrends.build_payload(keywords, timeframe="today 5-y", geo="BR") df = pytrends.interest_over_time() print(df.head())

flxai commented 3 years ago

I cannot confirm your assertion.

Comparing the result from the website's original query:

image

To the one plotted by pytrends:

image

These two plots look the same to me. How did you get the keyword's ID string? Is it related to Google's knowledge graph?