jdepoix / youtube-transcript-api

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!
MIT License
2.55k stars 280 forks source link

How can download play list subtitle? #226

Closed MammadTavakoli closed 9 months ago

MammadTavakoli commented 9 months ago

this package download only one video's subtitle, But how can download all subtitle of an play list?

jdepoix commented 9 months ago

Hi @MammadTavakoli, that is not supported by this module. You'll have to use the official YouTube API to retrieve the videos of a playlist and then you can use this module to retrieve the subtitles for the video individually.