aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-11-21 14:12:34 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-11-21 14:12:34 +0800
commit6cc37c69e25f886c466d4b89f0734639e20e279b (patch)
tree66946f62e15f8c20c6c55168429996c934777260 /youtube_dl/extractor/generic.py
parenta5cd0eb8a4f2661cfe4863e958172d8f8f42d0f1 (diff)
[generic] Unescape URLs from JWPlayer (#7582)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py1
1 files changed, 1 insertions, 0 deletions
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))