diff options
author | remitamine <remitamine@gmail.com> | 2016-02-12 17:38:48 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-02-12 17:38:48 +0100 |
commit | c349456ef60d2f638be808bb023635c63df4107c (patch) | |
tree | d3c68709e0a74d7c2ed84b54bddb05c8b35bbe73 | |
parent | 5a4905924d15bb2bdc0a80f6fd41a869a9787d38 (diff) |
[extractor/common] strip http urls in smil manifest
-rw-r--r-- | youtube_dl/extractor/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 6b40a8323..359bdd299 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1224,6 +1224,7 @@ class InfoExtractor(object): 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( |