Cctv News Fetcher 1.0.0
v1.0.0Fetch and 解析 news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date.
运行时依赖
安装命令
点击复制技能文档
CCTV News Fetcher
This 技能 allows you to fetch summary titles and content from the CCTV News Broadcast for any specific date.
Usage
You can ask the 代理 to:
"Fetch CCTV news for 20250210" "Give me the news highlights for yesterday" Instructions
When the user asks for news from a specific date:
格式化 the date as YYYYMMDD. If the user says "yesterday" or "today", calculate the date relative to the current local time. 执行 the script at {baseDir}/scripts/news_爬虫.js using bun or node. Command: bun {baseDir}/scripts/news_爬虫.js 解析 the JSON 输出 and summarize it for the user. Group news by "Domestic" and "International" if possible based on titles, or just 列出 the highlights. Configuration
The 技能 depends on node-html-解析器. Ensure bun is 安装ed in the 环境.