]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/sportdeutschland.py
Initiate new release.
[youtubedl] / youtube_dl / extractor / sportdeutschland.py
index 057ef5251dc6855c32a8df5abed6917556d190e9..1a57aebf16c4439174844b3e21bb42bf4331d02a 100644 (file)
@@ -4,8 +4,10 @@ from __future__ import unicode_literals
 import re
 
 from .common import InfoExtractor
-from ..utils import (
+from ..compat import (
     compat_urllib_request,
+)
+from ..utils import (
     parse_iso8601,
 )
 
@@ -58,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(