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 :)
changed YouTube closed captions URL; closes #382
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.
youtube-dl --write-srt --skip-download