mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-29 22:24:25 +01:00
[facebook] use _parse_mpd
This commit is contained in:
parent
8ff648e4f9
commit
c11875b328
1 changed files with 2 additions and 3 deletions
|
@ -215,9 +215,8 @@ class FacebookIE(InfoExtractor):
|
||||||
})
|
})
|
||||||
dash_manifest = f[0].get('dash_manifest')
|
dash_manifest = f[0].get('dash_manifest')
|
||||||
if dash_manifest:
|
if dash_manifest:
|
||||||
formats.extend(self._parse_dash_manifest(
|
formats.extend(self._parse_mpd(
|
||||||
compat_etree_fromstring(compat_urllib_parse_unquote_plus(dash_manifest)),
|
compat_etree_fromstring(compat_urllib_parse_unquote_plus(dash_manifest))))
|
||||||
namespace='urn:mpeg:dash:schema:mpd:2011'))
|
|
||||||
if not formats:
|
if not formats:
|
||||||
raise ExtractorError('Cannot find video formats')
|
raise ExtractorError('Cannot find video formats')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue