From: remitamine Date: Tue, 2 Feb 2016 17:11:16 +0000 (+0100) Subject: [facebook] use _parse_mpd X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c11875b3287fe7dbacdb296eac4a21d93bc1830e;p=youtube-dl [facebook] use _parse_mpd --- 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')