1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-04 17:34:32 +01:00

[ard] Change subtitles extension to ttml (Closes #9169)

ttml is now served instead of srt
This commit is contained in:
Sergey M․ 2016-04-12 21:20:31 +06:00
parent a837416025
commit ffa2cecf72
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -83,7 +83,7 @@ class ARDMediathekIE(InfoExtractor):
subtitle_url = media_info.get('_subtitleUrl') subtitle_url = media_info.get('_subtitleUrl')
if subtitle_url: if subtitle_url:
subtitles['de'] = [{ subtitles['de'] = [{
'ext': 'srt', 'ext': 'ttml',
'url': subtitle_url, 'url': subtitle_url,
}] }]