0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +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 @@ def filter_video(urls):
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))