一款无需 API Key 和 Cookie、开箱即用的 YouTube 字幕提取与音频转写工具,集成多种引擎实现自动兜底。

Stars

4

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它通过三条路径(youtube-transcript-api、yt-dlp、Whisper)无缝衔接,无需任何付费密钥或 Cookie,即可自动从有字幕的视频提取文本,或对无字幕视频进行语音转写。

适合谁使用

  • 需要批量获取 YouTube 字幕的内容创作者
  • 想用字幕辅助学习的外语学习者
  • 收集视频转录数据的研究人员
  • 希望快速集成字幕提取功能的开发者

典型使用场景

  • 一键提取 YouTube 视频字幕保存为纯文本或 JSON
  • 对无字幕视频自动下载音频并调用 Whisper 转写
  • 指定语言优先级(如中文优先)获取多语言字幕
  • 生成带时间轴的字幕,便于做笔记或剪辑参考

项目优势

  • 无需 API Key 或 Cookie,零配置即可使用
  • 双引擎兜底:优先 youtube-transcript-api,失败自动调用 yt-dlp 提取字幕
  • 集成 Whisper,无字幕视频也能自动转写
  • 丰富的命令行参数(自动模式、强制 Whisper、语言选择、设备控制)

使用前须知

  • 使用 Whisper 转写时需要额外安装 ffmpeg
  • Whisper 模型初次下载体积较大(视模型大小而定)
  • 依赖 YouTube 服务的稳定性,平台变更可能导致工具失效

README 快速开始

安装

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482