Fetch the top trending Google searches in the last 24 hours via the Google Trends daily RSS feed. No API key required.
bash
# Top 20 trending searches in the US (default)
python3 scripts/fetch-google-trending.py
# Specific country (ISO 3166-1 alpha-2 code)
python3 scripts/fetch-google-trending.py FR
python3 scripts/fetch-google-trending.py GB
python3 scripts/fetch-google-trending.py JP
# Custom result count
python3 scripts/fetch-google-trending.py US 10
PositionDefaultDescription1USCountry code (ISO 3166-1 alpha-2)220Number of trending topics to show
For each trending topic: rank, search term, approximate search volume, publication time, up to 2 related news headlines with source, and a link to the Google Trends page.
https://trends.google.com/trending/rss?geo={GEO}urllib, xml.etree)python3 scripts/fetch-google-trending.py [GEO] [COUNT]