diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-06-09 21:40:16 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-06-10 00:22:41 +0800 |
commit | bc7e7adf5154f15b74b2df3e2989f630667778ce (patch) | |
tree | cd80aa515e2b4ff5d7b81664ab487cfc1929384e /youtube_dl/extractor/wdr.py | |
parent | b0aebe702c538010fd92cd0807963293f112adcd (diff) |
[wdr] Subtitles are TTML
Diffstat (limited to 'youtube_dl/extractor/wdr.py')
-rw-r--r-- | youtube_dl/extractor/wdr.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py index a9238cbeb..6b83a2a04 100644 --- a/youtube_dl/extractor/wdr.py +++ b/youtube_dl/extractor/wdr.py @@ -34,7 +34,8 @@ class WDRIE(InfoExtractor): 'description': 'md5:87be8ff14d8dfd7a7ee46f0299b52318', 'is_live': False, 'subtitles': {'de': [{ - 'url': 'http://ondemand-ww.wdr.de/medp/fsk0/105/1058683/1058683_12220974.xml' + 'url': 'http://ondemand-ww.wdr.de/medp/fsk0/105/1058683/1058683_12220974.xml', + 'ext': 'ttml', }]}, }, }, @@ -190,7 +191,8 @@ class WDRIE(InfoExtractor): caption_url = metadata_media_resource.get('captionURL') if caption_url: subtitles['de'] = [{ - 'url': caption_url + 'url': caption_url, + 'ext': 'ttml', }] title = metadata_tracker_data.get('trackerClipTitle') |