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

Get confused at the format "webvvt" #134

Closed MAJA-Lin closed 2 years ago

MAJA-Lin commented 2 years ago

I thought this might be a typo?

https://github.com/jdepoix/youtube-transcript-api/blob/5657a4867476d6edae582b7de3a07e395128b964/youtube_transcript_api/formatters.py#L138-L144

REF: Web Video Text Tracks Format (WebVTT)

jdepoix commented 2 years ago

Oh boy, you are right! How did this go unnoticed for so long... 🙈 Thanks for pointing this out!