Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2025 (5)
20082026
  1. …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…
  2. …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…
  3. 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…
  4. ▲ 5
    YouTube-transcript-API 1.0.0 released
    story by rob · 2025-03-12 · 1 comment
  5. …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
  6. …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…
  7. …be the usage of text to speech. Did you consider scraping the transcriptions instead? e.g. with https://github.com/jdepoix/youtube-transcript-api