wuchubuzai2018/expert-skills-hub349 installs
toutiao-news-trends
获取今日头条(www.toutiao.com)新闻热榜/热搜榜数据,包含时政要闻、财经、社会事件、国际新闻、科技发展及娱乐八卦等多领域的热门中文资讯,并输出热点标题、热度值与跳转链接。
How do I install this agent skill?
npx skills add https://github.com/wuchubuzai2018/expert-skills-hub --skill toutiao-news-trendsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a legitimate tool designed to fetch news trends from the Toutiao hot-board. It uses standard Node.js modules, communicates only with the official Toutiao API, and does not contain any malicious code or hidden behaviors.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerwarn
2/2 files flagged
What does this agent skill do?
今日头条新闻热榜
技能概述
此技能用于抓取今日头条 PC 端热榜(hot-board)数据,包括:
- 热点标题
- 热度值(HotValue)
- 详情跳转链接(去除冗余查询参数,便于分享)
- 封面图(如有)
- 标签(如“热门事件”等)
数据来源:今日头条 (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[] | 兴趣分类(如有) |
注意事项
- 该接口为网页端公开接口,返回结构可能变动;若字段缺失可适当容错
- 访问频繁可能触发风控,脚本内置随机 User-Agent 与超时控制
作者介绍
- 爱海贼的无处不在
- 我的微信公众号:无处不在的技术
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/wuchubuzai2018/expert-skills-hub/toutiao-news-trends">View toutiao-news-trends on skillZs</a>