
youtube-transcript-api
jdepoix
This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do!
AI 简介
这是一个用于获取 YouTube 视频字幕与文字稿的 Python 库,无需 API 密钥或浏览器自动化工具(如 Selenium),支持手动字幕、自动生成字幕及多语言翻译。核心特点是轻量、免认证、兼容自动字幕提取,并提供命令行接口和编程接口。适用于内容分析、视频摘要、多语言本地化、无障碍访问支持等需要批量或实时提取 YouTube 文字内容的场景。
Python
MIT License7.9k
Stars
798
Forks
46
Watchers
18
Issues
Star 增长
今日0
近 7 天0
近 30 天+57
综合评分70.41
默认分支master