cctv1-news on 20:00

v1.0.0

简单版本的CCTV新闻联播内容获取工具。获取CCTV新闻联播内容并保存到本地文件,无需钉钉机器人。支持定时执行,适合个人使用。

0· 69·0 current·0 all-time
byfreheit@kawayixixing

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for kawayixixing/cctv1-news.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "cctv1-news on 20:00" (kawayixixing/cctv1-news) from ClawHub.
Skill page: https://clawhub.ai/kawayixixing/cctv1-news
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install cctv1-news

ClawHub CLI

Package manager switcher

npx clawhub@latest install cctv1-news
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk97513ns4vw3ctsnxxcs344y9s852ted
69downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

简单版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\to\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 变量

错误处理

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

Comments

Loading comments...