diff options
author | remitamine <remitamine@gmail.com> | 2016-02-06 06:26:02 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-02-06 06:26:02 +0100 |
commit | 66159b38aad38d55f84a358a0c2ed2add9a2946d (patch) | |
tree | 4768cc49d929039a5a3c866600b7c0aee475f35d /youtube_dl/extractor/facebook.py | |
parent | 23d17e4bebdff9a5defa012e4fa5cd99db605919 (diff) | |
parent | 255732f0d33268aeababb1b3ce37a1defb5bc965 (diff) |
Merge pull request #8408 from remitamine/dash
Add generic support for mpd manifests(dash formats)
Diffstat (limited to 'youtube_dl/extractor/facebook.py')
-rw-r--r-- | youtube_dl/extractor/facebook.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index b6d1180f0..9c751178f 100644 --- a/youtube_dl/extractor/facebook.py +++ b/youtube_dl/extractor/facebook.py @@ -215,9 +215,8 @@ class FacebookIE(InfoExtractor): }) dash_manifest = f[0].get('dash_manifest') if dash_manifest: - formats.extend(self._parse_dash_manifest( - compat_etree_fromstring(compat_urllib_parse_unquote_plus(dash_manifest)), - namespace='urn:mpeg:dash:schema:mpd:2011')) + formats.extend(self._parse_mpd( + compat_etree_fromstring(compat_urllib_parse_unquote_plus(dash_manifest)))) if not formats: raise ExtractorError('Cannot find video formats') |