4c6248c359
Youtube-transcript-api is a python API which allows you to retrieve the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles, supports translating subtitles and it does not require a headless browser, like other selenium based solutions do! https://github.com/jdepoix/youtube-transcript-api