youtube-transcript-api

PyPI v1.2.4

6,517,159 weekly downloads · MIT · 2 Dependencies

Recently published

Source data as of:

Summary

This is a python API which allows you to get the transcripts/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!

Install pip install youtube-transcript-api

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 6,517,159 Source: PyPI (Python Package Index)
Releases 35 Last release: 2026-01-29 Source: PyPI (Python Package Index)
Dependencies 2 Source: PyPI (Python Package Index)

Description

This is a python API which allows you to get the transcripts/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!

Registry-supplied description, cleaned to plain text. Source: PyPI (Python Package Index).

Package details

Package
youtube-transcript-api
Registry
PyPI
Version
1.2.4
Weekly downloads
6,517,159 (weekly)
License
MIT
Dependencies
2: requests, defusedxml
Releases
35
Last release
2026-01-29
First published
2018-07-03
Keywords
cli, subtitle, subtitles, transcript, transcripts, youtube, youtube-api, youtube-subtitles, youtube-transcripts
Homepage
https://github.com/jdepoix/youtube-transcript-api
Repository
https://github.com/jdepoix/youtube-transcript-api

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 38.3 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 11.0 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 52.0 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources