Browse Source

[generic] Unescape the video URL

Fixes #9279
totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
949b6497cc
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/generic.py

+ 1
- 0
youtube_dl/extractor/generic.py 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))


Loading…
Cancel
Save