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.87k stars 326 forks source link

Getting "Subtitles are disabled for this video" when they are available #146

Closed Aditya-Mallick closed 2 years ago

Aditya-Mallick commented 2 years ago

I am getting this error message:

youtube_transcript_api._errors.TranscriptsDisabled: 
Could not retrieve a transcript for the video https://www.youtube.com/watch?v=N! This is most likely caused by:

Subtitles are disabled for this video

image

I am using youtube_transcript_api-0.4.3 and getting this error. Please help!!!