aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-04-24 16:23:21 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-04-24 16:25:37 +0800
commit949b6497cc2be1f21cd439c6fc6e4047eddb0d66 (patch)
treec963615e7a7b3b2e3072e9bdfd49a186d772b9d5 /youtube_dl/extractor
parent2c21152ca7af4f96fccb225f161862046280a12a (diff)
[generic] Unescape the video URL
Fixes #9279
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/generic.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 95d233259..16c2c60d7 100644
--- 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))