YouTube Transcript
YouTube Transcript is a Python API for retrieving transcripts and subtitles from given YouTube video URLs.
Platform availability
Available on 0 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
66/100 Good
- Maintained
- 84last commit 12 days ago
- Popular
- 798,638 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- No data
- Security check
- 55no serious findings, 6 minor, CI, tests, OpenSSF Scorecard 3.3/10
Based on 4 of 5 factors.
- GitHub stars
- 8,638
- Open issues
- 37
- Last commit
- 2026-11-09
- Latest release
- v1.2.5
- License
- MIT
- Activity
- rising
Checked 2 days ago - source: GitHub (jdepoix/youtube-transcript-api)
Resources & Compatibility
ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Install the youtubedr tool Run the install command for your system, such as brew install youtubedr on macOS or go install github.com/kkdai/youtube/v2/cmd/youtubedr@latest if you have Go (a programming language) installed. This puts the youtubedr command on your computer, and without it you cannot download videos or fetch transcripts from the terminal. source
- Check that ffmpeg is installed Type ffmpeg and press Enter to confirm the tool is available, because higher-quality downloads like hd1080 need it to combine video and audio. If it is missing, those downloads can fail even after youtubedr is installed. source
- Install with pip Install the Python package before using the API: pip install youtube-transcript-api. source
Fetched 42 days ago - each note links to its source
Variants
Alternatives
No alternatives collected yet.
Common questions
How do I fetch a transcript from the self-hosted server?
Paste a YouTube link and it returns plain text with video metadata and configurable timestamps.
Why might it work locally but fail after deploying to a server?
It can be blocked in production or when running on a cloud server, so requests may fail even if local code works.
Does it require a headless browser to retrieve transcripts?
No, it does not require a headless browser, unlike Selenium-based solutions.
Can I choose the transcript language?
Yes, provide a languages list of language codes in priority order, and it tries them in that order. English is the default.
Answers sourced from github.com, github.com, parsejet.com
Community
- Selfhosted AI Video Transcripts : r/selfhosted - Reddit (reddit)
- Is there an easy way to get a youtube video transcript? The ... - Reddit (reddit)
- Did youtube remove the transcript text option? : r/youtube - Reddit (reddit)
Collected 48 days ago - public community threads