From: Yen Chi Hsuan Date: Sun, 24 Apr 2016 08:23:21 +0000 (+0800) Subject: [generic] Unescape the video URL X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=949b6497cc2be1f21cd439c6fc6e4047eddb0d66;p=youtube-dl.git [generic] Unescape the video URL Fixes #9279 --- 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))