360 Secure SkillHub
360 安全技能中心

Google Trends RSS

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

wsjwong
wsjwong
热度 58.75
最近更新 2026-05-11 17:28:41
分类:搜索依赖:代码执行 / 第三方 API / 读写文件应用场景:研究 / 市场分析 / 数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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