360 Secure SkillHub
360 安全技能中心

Google Trends RSS

通过 Google Trends 公开 RSS 源按区域代码获取每日热门搜索,字段含热度、链接、发布时间、配图及最多两条相关新闻;支持按热度或时间排序、限制条数,并输出终端表格、JSON、Markdown 或保存为 JSON/CSV 文件。

分类:搜索
wsjwong
wsjwong
热度 42.34
最近更新 2026-05-11 17:28:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wsjwong/google-trends-rss
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
google-trends
description
Fetch and structure Google Trends daily trending-search data by country/region via the public RSS feed. Use when users ask for Google Trends snapshots, country comparisons, top daily searches, related news context, or export-ready trend tables (JSON/CSV/markdown) for Sheets/docs/reporting.

Google Trends

Use this skill to get Google Trends daily trending searches quickly, without browser scraping.

Quick start

python scripts/google_trends_rss.py list-geos
python scripts/google_trends_rss.py daily --geo HK --limit 20 --sort traffic --format table
python scripts/google_trends_rss.py daily --geo US --sort traffic --format json --out /tmp/us-trends.json
python scripts/google_trends_rss.py daily --geo JP --sort traffic --out /tmp/jp-trends.csv

Workflow

  1. Pick geo code (HK, US, JP, etc.).
  2. Fetch daily trends with daily --geo <CODE>.
  3. Choose output format:
    • table for terminal quick check
    • json for downstream automation
    • markdown for chat/report paste
  4. If needed, save with --out:
    • .json for structured pipelines
    • .csv for Sheets import

Commands

1) List common geo codes

python scripts/google_trends_rss.py list-geos

2) Fetch daily trends

python scripts/google_trends_rss.py daily --geo HK --limit 20 --sort traffic --format table

Options:

  • --geo (required): region code
  • --limit (default 20): max trend rows
  • --format (table|json|markdown, default table)
  • --sort (traffic|feed|recency, default traffic)
    • traffic: hottest-first by approx_traffic
    • feed: keep RSS original order
    • recency: newest-first by pubDate
  • --out: optional file path (.json or .csv)
  • --timeout (default 20)

Output schema

Each trend includes:

  • title
  • approx_traffic
  • link
  • pub_date
  • picture
  • up to 2 related news items (title/snippet/url/source)

Notes

  • This skill targets daily trending searches feed (not full historical keyword timeseries).
  • Feed source: Google Trends RSS endpoint by geo.
  • Keep parsing defensive; feed fields can evolve.
  • For implementation details aligned to the existing connector repo, read:
    • references/google-trends-connector-notes.md

Resources

  • Script: scripts/google_trends_rss.py
  • Reference: references/google-trends-connector-notes.md