Skip to content

Commit

Permalink
[ie/facebook] Fix DASH formats extraction (#9734)
Browse files Browse the repository at this point in the history
Closes #9720
Authored by: bashonly
  • Loading branch information
bashonly committed Apr 20, 2024
1 parent c9ce57d commit e3b42d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/facebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit e3b42d8

Please sign in to comment.