1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 00:00:43 +01:00

[generic] Unescape the video URL

Fixes #9279
This commit is contained in:
Yen Chi Hsuan 2016-04-24 16:23:21 +08:00
parent 2c21152ca7
commit 949b6497cc
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

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