1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-30 19:45:06 +00: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,
}] }]