]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[facebook] use _parse_mpd
authorremitamine <remitamine@gmail.com>
Tue, 2 Feb 2016 17:11:16 +0000 (18:11 +0100)
committerremitamine <remitamine@gmail.com>
Tue, 2 Feb 2016 17:11:16 +0000 (18:11 +0100)
youtube_dl/extractor/facebook.py

index b6d1180f0796059c8df1af92c022da4017f23c62..9c751178fa79e863e898cfeb892d06e9a1b9f922 100644 (file)
@@ -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')