微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📺

AI字幕校对·每日新闻自动下载

Video News Downloader · v1.0.0
效率 安全 B 级 作者 cyberpsychosissss 公开目录收录
1.2k 下载 1 安装 4.6k 收藏 30 浏览

简介

自动化新闻视频下载与AI字幕校对工具,支持CBS/BBC每日新闻下载、DeepSeek智能校对、本地HTTP流媒体播放与定时任务管理

原始描述

Automated daily news video downloader with AI subtitle proofreading. Downloads CBS Evening News and BBC News at Ten from YouTube, extracts and proofreads sub...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/video-news-downloader/
其它 Agent解压到它自己的 skills 目录,目录名用 video-news-downloader

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

中文使用说明 来自收录源

核心用法

Video News Downloader 是一套完整的新闻视频自动化处理工作流,主要面向需要获取每日英语新闻内容进行学习或分析的用户。核心功能模块包括:

  1. 视频下载:基于 yt-dlp 从 YouTube 下载 CBS Evening News 和 BBC News at Ten 每日新闻视频
  2. 字幕提取与转换:自动提取 YouTube 自动生成的英文字幕并转换为 VTT 格式
  3. AI 智能校对:调用 DeepSeek 大模型修正语音识别错误(包括人名、地名、专业术语等)
  4. 本地流媒体服务:通过 Python http.server 提供带嵌入式播放器的 HTTP 访问端点(CBS: 8093端口,BBC: 8095端口)
  5. 定时任务管理:内置 cron 脚本支持北京时间每日 20:00 自动下载、20:30 自动校对

显著优点

  • 端到端自动化:从下载到校对到服务一键完成,减少人工干预
  • AI 增强的字幕质量:DeepSeek 校对可有效修正自动字幕常见错误,提升观看体验
  • 本地化播放:无需翻墙或依赖 YouTube 即可反复观看,适合网络受限环境
  • 保留原始数据:自动备份原始字幕,校对过程可追溯
  • 双源覆盖:同时支持美国(CBS)和英国(BBC)主流新闻台,内容互补

潜在缺点与局限性

  • 版权风险:下载受版权保护的新闻视频存在法律合规隐患,尽管个人学习用途风险较低
  • 源依赖性:依赖 YouTube 自动字幕质量,部分视频可能无字幕或质量极差
  • AI 校对非完美:DeepSeek 可能过度"修正"或引入新错误,需人工抽查验证
  • 单用户架构:HTTP 服务基于 Python 内置 server,不适合多用户并发场景
  • 时区硬编码:默认 cron 任务使用北京时间,其他地区用户需手动调整

适合人群

  • 英语学习者:希望通过正版新闻内容提升听力与词汇
  • 国际新闻研究人员:需要归档分析每日英语新闻素材
  • 网络受限地区用户:需要本地化缓存海外视频内容
  • 字幕制作爱好者:希望研究 AI 字幕校对 workflows

常规风险

  • 版权合规:CBS/BBC 内容受版权保护,大规模分发或商用存在 DMCA 等法律风险
  • API 稳定性:依赖 YouTube 接口和 DeepSeek API,任一服务变更可能导致功能中断
  • 存储管理:每日自动下载可能快速占用大量磁盘空间,需定期清理旧文件
  • 隐私泄露:若 HTTP 服务暴露在公网,观看记录可能被嗅探,建议仅内网使用或配置访问控制

技能正文


name: video-news-downloader description: "Automated daily news video downloader with AI subtitle proofreading. Downloads CBS Evening News and BBC News at Ten from YouTube, extracts and proofreads subtitles using DeepSeek, serves videos via HTTP with embedded players. Use when: (1) Setting up automated daily news video downloads, (2) Downloading CBS/BBC news with subtitles, (3) Proofreading subtitle files with AI, (4) Creating local video streaming servers with web players, (5) Managing cron jobs for scheduled video updates."

Video News Downloader with AI Subtitle Proofreading

Complete workflow for downloading daily news videos, processing subtitles, and serving them via HTTP with web players.

Overview

This skill automates:

  1. Video Download: CBS Evening News + BBC News at Ten from YouTube
  2. Subtitle Processing: Extract auto-captions and convert to VTT format
  3. AI Proofreading: Use DeepSeek to fix speech recognition errors
  4. HTTP Streaming: Serve videos with embedded web players
  5. Scheduled Updates: Daily cron jobs at configurable times

Quick Start

1. Download Latest News

python3 scripts/video_download.py --cbs --bbc

2. Proofread Subtitles

python3 scripts/subtitle_proofreader.py /path/to/subtitle.vtt

Or use DeepSeek directly:

"校对字幕文件 /path/to/subtitle.vtt"

3. Start HTTP Servers

bash scripts/setup_server.sh

4. Setup Daily Cron Jobs

bash scripts/setup_cron.sh

Commands

Video Download Script

Download CBS only:

python3 scripts/video_download.py --cbs

Download BBC only:

python3 scripts/video_download.py --bbc

Download both:

python3 scripts/video_download.py --cbs --bbc

With subtitle proofreading:

python3 scripts/video_download.py --cbs --bbc --proofread

Subtitle Proofreading

Proofread single file:

python3 scripts/subtitle_proofreader.py <vtt_file_path>

Auto-proofread all news subtitles:

python3 scripts/subtitle_proofreader.py --all

Server Management

Start servers:

bash scripts/setup_server.sh start

Check status:

bash scripts/setup_server.sh status

Stop servers:

bash scripts/setup_server.sh stop

File Structure

/workspace/
├── cbs-live-local/
│   ├── cbs_latest.mp4
│   ├── cbs_latest.en.vtt          # Original subtitle
│   ├── cbs_latest.en.vtt-backup   # Backup
│   ├── cbs_latest-corrected.txt   # DeepSeek corrected text
│   └── cbs_latest-corrections.md  # Error list
│
├── bbc-news-live/
│   ├── bbc_news_latest.mp4
│   ├── bbc_news_latest.en.vtt
│   ├── bbc_news_latest.en.vtt-backup
│   ├── bbc_news_latest-corrected.txt
│   └── bbc_news_latest-corrections.md
│
└── temp/                           # Temporary download files

HTTP Endpoints

Endpoint Description
http://IP:8093/ CBS Evening News player
http://IP:8093/cbs_latest.mp4 CBS video direct
http://IP:8095/ BBC News at Ten player
http://IP:8095/bbc_news_latest.mp4 BBC video direct

Cron Jobs

Default Schedule (Beijing Time)

Time Task
20:00 Download latest CBS + BBC videos
20:30 DeepSeek proofread subtitles

Manual Cron Setup

See references/cron-setup.md for detailed cron configuration.

DeepSeek Proofreading

What Gets Fixed

  • Speech recognition errors (e.g., "noraster" → "nor'easter")
  • Name errors (e.g., "trunk" → "Trump")
  • Location name errors
  • Professional terminology errors
  • Obvious spelling mistakes

Output Files

For each subtitle file, generates:

  1. -backup.vtt - Original subtitle (never modified)
  2. -corrected.txt - AI-corrected plain text
  3. -corrections.md - List of corrections made

Troubleshooting

Video Download Fails

  • Check yt-dlp is installed: yt-dlp --version
  • Check YouTube URL is accessible
  • Try manual download first

Subtitle Extraction Fails

  • Some videos don't have auto-captions
  • Check if --list-subs shows available languages

Server Won't Start

  • Check ports 8093/8095 are free: lsof -i :8093
  • Check Python http.server is available

Proofreading Issues

  • Ensure DeepSeek model is available
  • Check subtitle file exists and is valid VTT format

See Also

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

video-downloadsubtitle-processingai-proofreadingyoutube-dlnews-archiveautomationhttp-servercron-jobdeepseek

同类 Skill