mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-01-25 20:29:51 +00:00
Formatting...
This commit is contained in:
parent
0620d817c3
commit
01bc8a1b99
@ -680,9 +680,11 @@ class PBSIE(InfoExtractor):
|
||||
ttml_caption_id = int(ttml_caption_id)
|
||||
subtitles['en'].extend([{
|
||||
'url': closed_captions_url.replace(
|
||||
ttml_caption_suffix, '/%d_Encoded.srt' % (ttml_caption_id + 1)), 'ext': 'srt',
|
||||
ttml_caption_suffix, '/%d_Encoded.srt' % (ttml_caption_id + 1)),
|
||||
'ext': 'srt',
|
||||
}, {
|
||||
'url': closed_captions_url.replace(ttml_caption_suffix, '/%d_Encoded.vtt' % (ttml_caption_id + 2)),
|
||||
'url': closed_captions_url.replace(
|
||||
ttml_caption_suffix, '/%d_Encoded.vtt' % (ttml_caption_id + 2)),
|
||||
'ext': 'vtt',
|
||||
}])
|
||||
elif info.get('cc'):
|
||||
|
Loading…
Reference in New Issue
Block a user