Menu

Get the full Google Trends "Trending now" list in Python and alert on new trends
📰

Get the full Google Trends "Trending now" list in Python and alert on new trends

DEV Community: datascience·Zahid Thani·10 days ago
#JTpcddDR
#devtodatascience#science#devto#dev#trends
Reading 0:00
15s threshold

Disclosure: I built the Trending Now Actor used here and earn money when people run it.

trends.google.com/trending shows what people are searching for right now, per country, with search volume, % increase, categories and related searches. It's great for newsrooms, content teams, social media managers and anyone building "what's hot" dashboards.

Getting it into code is harder than it looks:

The RSS feed is tiny. https://trends.google.com/trending/rss?geo=US is easy to parse, but it carries only around 10 trends, while the page itself lists hundreds.

There's no official API for the Trending Now list.

pytrends is archived and doesn't cover the current Trending Now page.

If the top 10 is enough for you, use the RSS feed with feedparser and you're done.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.