About cctv-news-fetcher
A skill that retrieves CCTV News titles and content for a requested date. It runs a crawler script, parses its JSON output, and groups or summarizes the resulting headlines for an agent.
Key features
- 01Fetches news by date
- 02Accepts relative dates such as today
- 03Runs a JavaScript crawler
- 04Parses JSON results
- 05Groups domestic and international headlines
Use cases
- 01Reviewing CCTV News from a specific date
- 02Getting highlights from yesterday’s broadcast
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ kirkluokun/ awesome-a-stock-openclawskills --skill cctv-news-fetcherAfter installing, type/cctv-news-fetcherin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
_meta.jsonpackage.jsonexamples/example.mdscripts/news_crawler.jsDetails
From the project READMECCTV 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:
- Format the date as
YYYYMMDD. If the user says "yesterday" or "today", calculate the date relative to the current local time. - Execute the script at
{baseDir}/scripts/news_crawler.jsusingbunornode.- Command:
bun {baseDir}/scripts/news_crawler.js <YYYYMMDD>
- Command:
- 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.
Comments
Markdown supported