Browse Source

[extractor/generic] Pass mpd base url to _parse_mpd_formats

totalwebcasting
Sergey M․ 9 years ago
parent
commit
7be747b921
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/generic.py

+ 2
- 1
youtube_dl/extractor/generic.py View File

@ -1302,7 +1302,8 @@ class GenericIE(InfoExtractor):
return {
'id': video_id,
'title': compat_urllib_parse_unquote(os.path.splitext(url_basename(url))[0]),
'formats': self._parse_mpd_formats(doc, video_id),
'formats': self._parse_mpd_formats(
doc, video_id, mpd_base_url=url.rpartition('/')[0]),
}
except compat_xml_parse_error:
pass


Loading…
Cancel
Save