[generic] Unescape URLs from JWPlayer (#7582)
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 21 Nov 2015 06:12:34 +0000 (14:12 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 21 Nov 2015 06:12:34 +0000 (14:12 +0800)
youtube_dl/extractor/generic.py

index e512c1e14ef228abe38112ede2b8313b5a536753..6cffde20d907fb96b9ecf53e11e610b9ca0acd2c 100644 (file)
@@ -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))