From 6cc37c69e25f886c466d4b89f0734639e20e279b Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Sat, 21 Nov 2015 14:12:34 +0800 Subject: [PATCH] [generic] Unescape URLs from JWPlayer (#7582) --- youtube_dl/extractor/generic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index e512c1e14..6cffde20d 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1874,6 +1874,7 @@ class GenericIE(InfoExtractor): entries = [] for video_url in found: + video_url = video_url.replace('\\/', '/') video_url = compat_urlparse.urljoin(url, video_url) video_id = compat_urllib_parse_unquote(os.path.basename(video_url)) -- 2.22.2