Browse Source

[generic] Unescape URLs from JWPlayer (#7582)

Yen Chi Hsuan 9 years ago
parent
commit
6cc37c69e2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      youtube_dl/extractor/generic.py

+ 1 - 0
youtube_dl/extractor/generic.py

@@ -1874,6 +1874,7 @@ class GenericIE(InfoExtractor):
 
 
         entries = []
         entries = []
         for video_url in found:
         for video_url in found:
+            video_url = video_url.replace('\\/', '/')
             video_url = compat_urlparse.urljoin(url, video_url)
             video_url = compat_urlparse.urljoin(url, video_url)
             video_id = compat_urllib_parse_unquote(os.path.basename(video_url))
             video_id = compat_urllib_parse_unquote(os.path.basename(video_url))