[extractor/common] strip http urls in smil manifest

This commit is contained in:
remitamine 2016-02-12 17:38:48 +01:00
parent 5a4905924d
commit c349456ef6

View File

@ -1224,6 +1224,7 @@ def _parse_smil_formats(self, smil, smil_url, video_id, namespace=None, f4m_para
continue
src_url = src if src.startswith('http') else compat_urlparse.urljoin(base, src)
src_url = src_url.strip()
if proto == 'm3u8' or src_ext == 'm3u8':
m3u8_formats = self._extract_m3u8_formats(