Browse Source

[sportdeutschland] Fix extraction (fixes #4544)

master
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
e0ae1814b1
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/sportdeutschland.py

3
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(

Loading…
Cancel
Save