mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 16:31:41 +00:00
[ie/facebook] Fix DASH formats extraction (#9734)
Closes #9720 Authored by: bashonly
This commit is contained in:
parent
c9ce57d9bf
commit
e3b42d8b1b
@ -560,7 +560,7 @@ def extract_from_jsmods_instances(js_data):
|
||||
js_data, lambda x: x['jsmods']['instances'], list) or [])
|
||||
|
||||
def extract_dash_manifest(video, formats):
|
||||
dash_manifest = video.get('dash_manifest')
|
||||
dash_manifest = traverse_obj(video, 'dash_manifest', 'playlist', expected_type=str)
|
||||
if dash_manifest:
|
||||
formats.extend(self._parse_mpd_formats(
|
||||
compat_etree_fromstring(urllib.parse.unquote_plus(dash_manifest)),
|
||||
|
Loading…
Reference in New Issue
Block a user