How do I download videos from YouTube with subtitles / captions?
I'd tried by using youtube-dl, with
--write-srt --str-lang flags but I always get:
WARNING: video has no closed captions.
Make sure the video you're trying to download has actual subtitles uploaded from the owner.
For example, the one where it fails only offers automatic captioning, which works by analyzing the speech in the video and then transcribing it on the fly:
However, what you want is a video that has "real" captions. Those can be downloaded easily.