]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[sportdeutschland] Fix extraction (fixes #4544)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 22 Dec 2014 21:24:19 +0000 (22:24 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 22 Dec 2014 21:24:19 +0000 (22:24 +0100)
youtube_dl/extractor/sportdeutschland.py

index 2f57f5b7c76944589b3b8f091849604d9d4e3bf0..1a57aebf16c4439174844b3e21bb42bf4331d02a 100644 (file)
@@ -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(