diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-12-22 22:24:19 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-12-22 22:24:19 +0100 |
commit | e0ae1814b112b100b73957fe1349d1569ec7a3dd (patch) | |
tree | 61c134b1649d81501dc06cfb7827a8b69afdd86d /youtube_dl/extractor/sportdeutschland.py | |
parent | 1362bbbb4bfbd9380211a66032dbe3fe09aa2173 (diff) |
[sportdeutschland] Fix extraction (fixes #4544)
Diffstat (limited to 'youtube_dl/extractor/sportdeutschland.py')
-rw-r--r-- | youtube_dl/extractor/sportdeutschland.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/sportdeutschland.py b/youtube_dl/extractor/sportdeutschland.py index 2f57f5b7c..1a57aebf1 100644 --- a/youtube_dl/extractor/sportdeutschland.py +++ b/youtube_dl/extractor/sportdeutschland.py @@ -60,9 +60,10 @@ class SportDeutschlandIE(InfoExtractor): categories = list(data.get('section', {}).get('tags', {}).values()) asset = data['asset'] + assets_info = self._download_json(asset['url'], video_id) formats = [] - smil_url = asset['video'] + smil_url = assets_info['video'] if '.smil' in smil_url: m3u8_url = smil_url.replace('.smil', '.m3u8') formats.extend( |