Browse Source

[facebook] use _parse_mpd

totalwebcasting
remitamine 9 years ago
parent
commit
c11875b328
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      youtube_dl/extractor/facebook.py

+ 2
- 3
youtube_dl/extractor/facebook.py View 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')


Loading…
Cancel
Save