projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c21152
)
[generic] Unescape the video URL
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 24 Apr 2016 08:23:21 +0000
(16:23 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 24 Apr 2016 08:25:37 +0000
(16:25 +0800)
Fixes #9279
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 95d23325900e8ed0d61bcec5d09ff3ba3d5e7a82..16c2c60d7d9d874f4e51971f53c789d8e2fe0144 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-2045,6
+2045,7
@@
class GenericIE(InfoExtractor):
entries = []
for video_url in found:
+ video_url = unescapeHTML(video_url)
video_url = video_url.replace('\\/', '/')
video_url = compat_urlparse.urljoin(url, video_url)
video_id = compat_urllib_parse_unquote(os.path.basename(video_url))