[generic] Unescape the video URL

Fixes #9279
pull/2/head
Yen Chi Hsuan 9 years ago
parent 2c21152ca7
commit 949b6497cc
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

@ -2045,6 +2045,7 @@ class GenericIE(InfoExtractor):
entries = [] entries = []
for video_url in found: for video_url in found:
video_url = unescapeHTML(video_url)
video_url = video_url.replace('\\/', '/') 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))

Loading…
Cancel
Save