
This pulls the current trending news from Toutiao (China's major news aggregator) and gives you ranked headlines with heat scores, clean links, and cover images when available. It's a straightforward web scraper that hits their public hot board endpoint and returns up to 50 items covering politics, finance, tech, entertainment, and more. The script includes basic anti-detection measures like random user agents, though the author warns you might still hit rate limits if you hammer it. Useful if you're building dashboards that need Chinese news trends or want to monitor what's actually trending on one of China's biggest content platforms without manually checking the site.
$ npx -y skills add wuchubuzai2018/expert-skills-hub --skill toutiao-news-trends --agent claude-codeInstalls into .claude/skills of the current project.
此技能用于抓取今日头条 PC 端热榜(hot-board)数据,包括:
数据来源:今日头条 (www.toutiao.com)
获取热榜(默认 50 条,按榜单顺序返回):
node scripts/toutiao.js hot
获取热榜前 N 条:
node scripts/toutiao.js hot 10
| 字段 | 类型 | 说明 |
|---|---|---|
| rank | number | 榜单排名(从 1 开始) |
| title | string | 热点标题 |
| popularity | number | 热度值(HotValue,已转为数字;解析失败时为 0) |
| link | string | 热点详情链接(已清理 query/hash) |
| cover | string | null | 封面图 URL(如有) |
| label | string | null | 标签/标识(如有) |
| clusterId | string | 聚合 ID(字符串化) |
| categories | string[] | 兴趣分类(如有) |
Sponsors