]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[generic] Unescape the video URL
authorYen Chi Hsuan <yan12125@gmail.com>
Sun, 24 Apr 2016 08:23:21 +0000 (16:23 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sun, 24 Apr 2016 08:25:37 +0000 (16:25 +0800)
Fixes #9279

youtube_dl/extractor/generic.py

index 95d23325900e8ed0d61bcec5d09ff3ba3d5e7a82..16c2c60d7d9d874f4e51971f53c789d8e2fe0144 100644 (file)
@@ -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))