/install cctv1-news
简单版CCTV新闻联播获取工具
这个skill用于获取CCTV新闻联播内容并保存到本地文件,无需钉钉机器人配置,适合个人使用。
功能特点
- 自动获取CCTV新闻联播主页面内容
- 提取所有新闻章节的视频链接和摘要
- 包含完整版视频链接
- 保存到本地文本文件
- 无需外部API配置
- 支持定时执行
使用方法
帮我获取2026年4月19日的新闻联播
1. 安装依赖
pip install requests pytz lxml
2. 执行脚本
python scripts/get_cctv_news_simple.py
3. 查看结果
执行完成后,会在脚本同目录下生成 cctv_news_YYYYMMDD.txt 文件,包含当日新闻联播内容。
定时执行配置
Windows任务计划程序
- 打开任务计划程序
- 创建基本任务
- 设置触发器:每天22:00
- 设置操作:启动程序
- 程序:python.exe
- 参数:C:\path o\scripts\get_cctv_news_simple.py
Linux/Unix Cron
编辑crontab:
crontab -e
添加以下行(注意时区转换,22:00北京时间 = 14:00 UTC):
0 14 * * * cd /path/to/skill && python scripts/get_cctv_news_simple.py
输出格式
生成的文本文件包含:
- 日期标题(格式:YYYYMMDD新闻联播)
- 完整版视频链接
- 各新闻章节的摘要和链接
自定义配置
- 修改输出文件路径:编辑脚本中的
output_file变量 - 修改CCTV网站URL:编辑脚本中的
url1变量
错误处理
脚本包含基本的错误处理机制,如遇网络问题或解析失败会输出错误信息到控制台。
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cctv1-news - After installation, invoke the skill by name or use
/cctv1-news - Provide required inputs per the skill's parameter spec and get structured output
What is cctv1-news on 20:00?
简单版本的CCTV新闻联播内容获取工具。获取CCTV新闻联播内容并保存到本地文件,无需钉钉机器人。支持定时执行,适合个人使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 76 downloads so far.
How do I install cctv1-news on 20:00?
Run "/install cctv1-news" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is cctv1-news on 20:00 free?
Yes, cctv1-news on 20:00 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does cctv1-news on 20:00 support?
cctv1-news on 20:00 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created cctv1-news on 20:00?
It is built and maintained by freheit (@kawayixixing); the current version is v1.0.0.