Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/common.py
|
|
@ -1539,7 +1539,7 @@ class InfoExtractor(object): |
|
|
|
if res is False: |
|
|
|
return [] |
|
|
|
mpd, urlh = res |
|
|
|
mpd_base_url = re.match(r'https?://.+/', urlh.geturl()).group() |
|
|
|
mpd_base_url = re.match(r'https?://[^?#&]+/', urlh.geturl()).group() |
|
|
|
|
|
|
|
return self._parse_mpd_formats( |
|
|
|
compat_etree_fromstring(mpd.encode('utf-8')), mpd_id, mpd_base_url, |
|
|
|