GeneralMills / pytrends

Pseudo API for Google Trends
Other
3.23k stars 817 forks source link

Getting data for a category without passing keyword(s) #451

Open aarsh-shroff opened 3 years ago

aarsh-shroff commented 3 years ago

Hello, I want to get the related topics and related queries for a category without passing a keyword. Example: https://trends.google.com/trends/explore?cat=184&geo=US If you go to the URL, you can see the related topics and related queries for the category 'Celebrities and Entertainment News'. When I try to use the related_topics() and related_queries() functions and I pass a category as an argument, it gives me an error, saying that the keyword is required as an argument. What can I do? Thank you.

chaitanyaspatil commented 3 years ago

I'm facing a similar issue. I would like to be able to use related_topics() and related_queries() without keywords.

tianyaDream commented 2 years ago

have a try like this: kw_list = ['']