diff options
author | remitamine <remitamine@gmail.com> | 2016-02-02 18:11:16 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-02-02 18:11:16 +0100 |
commit | c11875b3287fe7dbacdb296eac4a21d93bc1830e (patch) | |
tree | 4b72965113ea71f9067cc0caefc15fa8a32b3cac | |
parent | 8ff648e4f97c9d2692cd3f97db404911c23792f5 (diff) |
[facebook] use _parse_mpd
-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') |