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

Raise `TranscriptsDisabled` if 'playerCaptionsTracklistRenderer' is not found (Fixes #136) #137

Closed xenova closed 2 years ago

xenova commented 2 years ago

Let me add a test case to get back to 100% coverage :)

xenova commented 2 years ago

Looks like the 2.7 builds have been failing for a while, so I won't try to fix it.

Not sure if you want to, but you could probably remove support for 2.7 anyway considering it is passed its EOL.

jdepoix commented 2 years ago

Hi @xenova,

thank you for the PR!

Although I was able to run the test suite locally with python 2.7 without a problem, I wasn't able to figure out what made them fail on Travis. However, as you pointed out, python 2.7 is no longer supported, therefore I just dropped its support and removed it from the build plan. I merged those changes into master, therefore you should be able to fix your build by merging master into yours.

xenova commented 2 years ago

Okay - all should be good to go :)