ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.72k stars 10.07k forks source link

Can we get subtitles on CBS? #7389

Closed jimbolaya closed 9 years ago

jimbolaya commented 9 years ago

I am currently running youtube-dl version 2015.11.02.

After trying to download CC/Subtitles on CBS I get a "has no subtitles" message.

$ youtube-dl --list-subs 'http://www.cbs.com/shows/supergirl/video/92C4EB54-8372-A474-3F03-8CA1385134F3/supergirl-pilot/'
[CBS] supergirl-pilot: Downloading webpage
[ThePlatform] wj9VAZWduGZe: Downloading SMIL data
[ThePlatform] wj9VAZWduGZe: Downloading JSON metadata
wj9VAZWduGZe has no subtitles

After taking a look at the "Console" in Firefox, the subtitles are available in XML (TTML) as a separate file. For instance, for this show, the subtitles are availabe at

wget http://www.cbsstatic.com/closedcaption/Current/Primetime/DFXP/CBS_SUPERGIRL_101_CONTENT_CIAN_caption_DFXP.xml

Looking at the "--verbose" output "CBS_SUPERGIRL_101_CONTENT_CIAN" shows up repeatedly. I've posted the "--verbose" output at: https://gist.github.com/jimbolaya/c5881f856db780bc0147

jaimeMF commented 9 years ago

Duplicate of #6321.