mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 17:41:01 +01:00
[sportdeutschland] Fix extraction (fixes #4544)
This commit is contained in:
parent
1362bbbb4b
commit
e0ae1814b1
@ -60,9 +60,10 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
categories = list(data.get('section', {}).get('tags', {}).values())
|
categories = list(data.get('section', {}).get('tags', {}).values())
|
||||||
asset = data['asset']
|
asset = data['asset']
|
||||||
|
assets_info = self._download_json(asset['url'], video_id)
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
smil_url = asset['video']
|
smil_url = assets_info['video']
|
||||||
if '.smil' in smil_url:
|
if '.smil' in smil_url:
|
||||||
m3u8_url = smil_url.replace('.smil', '.m3u8')
|
m3u8_url = smil_url.replace('.smil', '.m3u8')
|
||||||
formats.extend(
|
formats.extend(
|
||||||
|
Loading…
Reference in New Issue
Block a user