jdepoix/youtube-transcript-api
View on GitHub ↗ ★ 8,577 Python
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!
7 mentions on Hacker News by 5 people: 1 story, 6 comments · first 2022-12-17 · latest 2025-07-29
20082026
-
…responsible for this error and that a transcript should be retrievable, please create an issue at https://github.com/jdepoix/youtube-transcript-api/issues . Please add which version of youtube_transcript_api you are using and provide the…
comment by elektor · 2025-07-29 · in Show HN: YouTubeTldw: ad‑free, login‑free YouTube summaries in a flash -
…Oh yeah, we do a check first and use youtube-transcript-api if there's an automatic one available: https://github.com/jdepoix/youtube-transcript-api The tool usually detects them within like ~5 mins of being uploaded though, so usually…
comment by rob · 2025-06-25 · in OpenAI charges by the minute, so speed up your audio -
There's a tool that uses YouTube's unofficial APIs to get them if they're available: https://github.com/jdepoix/youtube-transcript-api For our internal tool that transcribes local city council meetings on YouTube (often 1-3 hours long), we…
comment by rob · 2025-06-25 · in OpenAI charges by the minute, so speed up your audio -
…can use a Tor proxy [1]. Afterwards, you can just cmd/ctrl+f through it or throw it at an LLM. [0] https://github.com/jdepoix/youtube-transcript-api [1] https://github.com/rinvii/yt-transcript
comment by rinvi · 2025-01-11 · in Show HN: TubePen – My attempt to get more out of YouTube learning -
…for downloading both user entered and automatically generated transcripts. (Python based) [1] https://github.com/jdepoix/youtube-transcript-api Notably, Google really needs to have an obvious API endpoint for this kind of call. If 1000's…
comment by araes · 2024-02-18 · in Show HN: I create a free website for download YouTube transcript, subtitle -
…be the usage of text to speech. Did you consider scraping the transcriptions instead? e.g. with https://github.com/jdepoix/youtube-transcript-api
comment by abrichr · 2022-12-17 · in Show HN: Factual AI Q&A – Answers based on Huberman Lab transcripts