youtube-transcript-api
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!
Updated 35 min ago
+39 stars gained this week
Stars gained each day, last 30 days
In short
A Python API that retrieves transcripts and subtitles for YouTube videos, including auto-generated ones. It needs no API key and no headless browser, and is for developers who want captions in their Python code or on the command line.
Summary written by AI from the repository’s description and README.