Skip to content

Commit

Permalink
[ie/facebook] Fix DASH formats extraction (yt-dlp#9734)
Browse files Browse the repository at this point in the history
Closes yt-dlp#9720
Authored by: bashonly
  • Loading branch information
bashonly authored and aalsuwaidi committed Apr 21, 2024
1 parent 6049a52 commit 3fa238d
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 3fa238d

Please sign in to comment.