rename _parse_mpd to _parse_mpd_formats and add default value for mpd namespace
[youtube-dl] / youtube_dl / extractor / facebook.py
index b6d1180f0796059c8df1af92c022da4017f23c62..ed237f081e2397fe30dc9e4e9c32d590170692de 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_formats(
+                    compat_etree_fromstring(compat_urllib_parse_unquote_plus(dash_manifest))))
         if not formats:
             raise ExtractorError('Cannot find video formats')