aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/sportdeutschland.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/sportdeutschland.py')
-rw-r--r--youtube_dl/extractor/sportdeutschland.py3
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(