projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a49059
)
[extractor/common] strip http urls in smil manifest
author
remitamine
<remitamine@gmail.com>
Fri, 12 Feb 2016 16:38:48 +0000
(17:38 +0100)
committer
remitamine
<remitamine@gmail.com>
Fri, 12 Feb 2016 16:38:48 +0000
(17:38 +0100)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 6b40a8323463c72d1a223d427ade2a978b763d72..359bdd299a508181e23688f87dfb6b8f11b8164d 100644
(file)
--- 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(