diff options
author | Ricardo Garcia <[email protected]> | 2009-11-14 15:04:50 +0100 |
---|---|---|
committer | Ricardo Garcia <[email protected]> | 2010-10-31 11:24:56 +0100 |
commit | ab1f697827c8cb1a4d09c03e843ebae123ce35f5 (patch) | |
tree | 0aa7c0c2910a392d0a6040ffdbc8100247d3d26e | |
parent | 583c714fdebdc8d0c3234aba2343803057d99e38 (diff) | |
download | youtube-dl-ab1f697827c8cb1a4d09c03e843ebae123ce35f5.tar.gz youtube-dl-ab1f697827c8cb1a4d09c03e843ebae123ce35f5.zip |
Use unquote_plus to decode video title
-rwxr-xr-x | youtube-dl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl index f57343ea8..c3d9271c2 100755 --- a/youtube-dl +++ b/youtube-dl @@ -723,7 +723,7 @@ class YoutubeIE(InfoExtractor): if mobj is None: self._downloader.trouble(u'ERROR: unable to extract video title') return - video_title = urllib.unquote(mobj.group(1)) + video_title = urllib.unquote_plus(mobj.group(1)) video_title = video_title.decode('utf-8') video_title = re.sub(ur'(?u)&(.+?);', self.htmlentity_transform, video_title) video_title = video_title.replace(os.sep, u'%') |