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!
SocialTap SDK for Python: live public data from TikTok, Instagram, YouTube, X, LinkedIn, Reddit and more in one schema. Typed, zero dependencies, LangChain tools.