← Back to Skills Marketplace
kawayixixing

cctv1-news on 20:00

by freheit · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
76
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cctv1-news
Description
简单版本的CCTV新闻联播内容获取工具。获取CCTV新闻联播内容并保存到本地文件,无需钉钉机器人。支持定时执行,适合个人使用。
README (SKILL.md)

简单版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任务计划程序

  1. 打开任务计划程序
  2. 创建基本任务
  3. 设置触发器:每天22:00
  4. 设置操作:启动程序
    • 程序: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 变量

错误处理

脚本包含基本的错误处理机制,如遇网络问题或解析失败会输出错误信息到控制台。

Usage Guidance
This skill appears coherent and low-risk: it simply downloads and parses CCTV pages and saves a text file. Before running, review the script and optionally run it in a restricted environment (non-root user, limited folder) to ensure it writes where you expect. Install dependencies from PyPI only and keep the script up to date if site structure changes. If you need different output paths, edit the script rather than running it as a privileged account.
Capability Analysis
Type: OpenClaw Skill Name: cctv1-news Version: 1.0.0 The skill bundle is a legitimate tool designed to scrape CCTV news summaries and save them to a local text file. The Python script (scripts/get_cctv_news_simple.py) uses standard libraries like requests and lxml to fetch data from tv.cctv.com, and the documentation (SKILL.md and references/使用说明.md) provides clear instructions for manual and scheduled execution without any evidence of malicious intent, data exfiltration, or unauthorized system access.
Capability Assessment
Purpose & Capability
Name/description match the included script and SKILL.md: the code fetches CCTV pages, extracts links/summaries, and writes a local text file. No extraneous credentials, binaries, or unrelated features are requested.
Instruction Scope
SKILL.md instructs installing obvious Python libs and running the provided script. The script only performs HTTP GETs to the CCTV site, parses HTML, and writes a local file. It does not read other system files, environment variables, or send data to third-party endpoints.
Install Mechanism
No install spec; this is instruction-only with a small Python script. Dependencies are standard (requests, pytz, lxml) and are appropriate for HTML fetching/parsing.
Credentials
The skill requires no environment variables, credentials, or config paths. The script writes to the script directory (or an edited path) which is consistent with its function.
Persistence & Privilege
always is false and the skill does not request persistent or elevated privileges, nor does it modify other skills or system-wide configs. Timed execution guidance (cron/Task Scheduler) is user-controlled.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cctv1-news
  3. After installation, invoke the skill by name or use /cctv1-news
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of a simple tool for fetching CCTV 新闻联播 content and saving it to a local file. - No DingTalk robot or external API configuration required; designed for personal use. - Supports automatic extraction of news chapters, video links, and summaries, including full program video link. - Enables scheduling via Windows Task Scheduler or Linux/Unix cron. - Output includes a dated text file with structured news content. - Basic error handling included for connectivity or parsing issues.
Metadata
Slug cctv1-news
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments