[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 @@ def _extract_media_info(self, media_info_url, webpage, video_id):
subtitle_url = media_info.get('_subtitleUrl')
if subtitle_url:
subtitles['de'] = [{
'ext': 'srt',
'ext': 'ttml',
'url': subtitle_url,
}]