rename _parse_mpd to _parse_mpd_formats and add default value for mpd namespace

This commit is contained in:
remitamine 2016-02-06 14:03:48 +01:00
parent 0826a0b555
commit 91cb6b5065
3 changed files with 5 additions and 5 deletions

View file

@ -215,7 +215,7 @@ class FacebookIE(InfoExtractor):
})
dash_manifest = f[0].get('dash_manifest')
if dash_manifest:
formats.extend(self._parse_mpd(
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')