1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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))