1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 08:26:50 +00:00

[generic] Unescape URLs from JWPlayer (#7582)

This commit is contained in:
Yen Chi Hsuan 2015-11-21 14:12:34 +08:00
parent a5cd0eb8a4
commit 6cc37c69e2

View File

@ -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))