projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5cd0eb
)
[generic] Unescape URLs from JWPlayer (#7582)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 21 Nov 2015 06:12:34 +0000
(14:12 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 21 Nov 2015 06:12:34 +0000
(14:12 +0800)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index e512c1e14ef228abe38112ede2b8313b5a536753..6cffde20d907fb96b9ecf53e11e610b9ca0acd2c 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-1874,6
+1874,7
@@
class GenericIE(InfoExtractor):
entries = []
for video_url in found:
+ video_url = video_url.replace('\\/', '/')
video_url = compat_urlparse.urljoin(url, video_url)
video_id = compat_urllib_parse_unquote(os.path.basename(video_url))