This skill allows you to fetch summary titles and content from the CCTV News Broadcast for any specific date.
You can ask the agent to:
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.js using bun or node.
bun {baseDir}/scripts/news_crawler.js <YYYYMMDD>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.
The skill depends on node-html-parser.
Ensure bun is installed in the environment.