[ard] Change subtitles extension to ttml (Closes #9169)
authorSergey M․ <dstftw@gmail.com>
Tue, 12 Apr 2016 15:20:31 +0000 (21:20 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 12 Apr 2016 15:20:31 +0000 (21:20 +0600)
ttml is now served instead of srt

youtube_dl/extractor/ard.py

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