瀏覽代碼

[generic] Unescape URLs from JWPlayer (#7582)

Yen Chi Hsuan 9 年之前
父節點
當前提交
6cc37c69e2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube_dl/extractor/generic.py

+ 1 - 0
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))