Unable to download subtitles for some YouTube videos. #382

chalet16 opened this Issue Jul 25, 2012 · 1 comment


None yet

2 participants


I had used youtube-dl to download hundreds of videos with subtitles. I found one video that a subtitle is available on YouTube but youtube-dl is unable to fetch it.

This video: http://www.youtube.com/watch?v=5hO3MrzPa0A

I found that swf player on youtube download subtitle from this URL (which is work).


But youtube-dl is unable to download it. Later, I found that youtube-dl download subtitle from different URL.

I found only about 1% of clip I had downloaded have this problem, but I would very appreciate if this issue would have been resolved.

Thank you :)


The new URL seems needed only when the closed captions track has a name, but if the name is left blank it seems to support also the "normal" tracks.
So, switched all the system to the new name.

The regex is not exactly robust for parsing the XML, but it should work.

I don't have so many test cases, please let me know if something breaks.

It would be helpful doing a batch of youtube-dl --write-srt --skip-download and reporting the results.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment