aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorringus1 <ringus1@users.noreply.github.com>2023-08-01 16:13:54 +0200
committerGitHub <noreply@github.com>2023-08-01 19:43:54 +0530
commita854fbec56d5004f5147116a41d1dd050632a579 (patch)
treed805ea9d1e4f1e1bdbcb79b2ca39e75e86bfe490
parent30b29f37159e9226e2f2d5434c9a4096ac4efa2e (diff)
downloadhypervideo-pre-a854fbec56d5004f5147116a41d1dd050632a579.tar.lz
hypervideo-pre-a854fbec56d5004f5147116a41d1dd050632a579.tar.xz
hypervideo-pre-a854fbec56d5004f5147116a41d1dd050632a579.zip
[ie/facebook] Add dash manifest URL (#7743)
Fixes #7742 Authored by: ringus1
-rw-r--r--yt_dlp/extractor/facebook.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/facebook.py b/yt_dlp/extractor/facebook.py
index 574f8e8c9..4fd17b574 100644
--- a/yt_dlp/extractor/facebook.py
+++ b/yt_dlp/extractor/facebook.py
@@ -481,7 +481,8 @@ class FacebookIE(InfoExtractor):
dash_manifest = video.get('dash_manifest')
if dash_manifest:
formats.extend(self._parse_mpd_formats(
- compat_etree_fromstring(urllib.parse.unquote_plus(dash_manifest))))
+ compat_etree_fromstring(urllib.parse.unquote_plus(dash_manifest)),
+ mpd_url=video.get('dash_manifest_url')))
def process_formats(info):
# Downloads with browser's User-Agent are rate limited. Working around