diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-24 16:23:21 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-24 16:25:37 +0800 |
commit | 949b6497cc2be1f21cd439c6fc6e4047eddb0d66 (patch) | |
tree | c963615e7a7b3b2e3072e9bdfd49a186d772b9d5 /youtube_dl | |
parent | 2c21152ca7af4f96fccb225f161862046280a12a (diff) |
[generic] Unescape the video URL
Fixes #9279
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/generic.py | 1 |
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)) |