360 Secure SkillHub
360 安全技能中心

CCTV News Fetcher

根据用户给出的日期或“今天/昨天”等表达换算为 YYYYMMDD,调用 Bun/Node 脚本抓取并解析央视《新闻联播》页面,读取标题与内容,最后按国内/国际分组整理新闻要点。依赖 node-html-parser,需要联网访问央视网站。

分类:搜索
yuhangch
yuhangch
热度 59.54
最近更新 2026-05-11 15:53:07

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add yuhangch/cctv-news-fetcher
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
cctv-news-fetcher
description
Fetch and parse news highlights from CCTV News Broadcast (Xinwen Lianbo) for a given date.
user-invocable
true

CCTV News Fetcher

This skill allows you to fetch summary titles and content from the CCTV News Broadcast for any specific date.

Usage

You can ask the agent to:

  • "Fetch CCTV news for 20250210"
  • "Give me the news highlights for yesterday"

Instructions

When the user asks for news from a specific date:

  1. Format the date as YYYYMMDD. If the user says "yesterday" or "today", calculate the date relative to the current local time.
  2. Execute the script at {baseDir}/scripts/news_crawler.js using bun or node.
    • Command: bun {baseDir}/scripts/news_crawler.js <YYYYMMDD>
  3. Parse the JSON output and summarize it for the user. Group news by "Domestic" and "International" if possible based on titles, or just list the highlights.

Configuration

The skill depends on node-html-parser. Ensure bun is installed in the environment.