projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
583c714
)
Use unquote_plus to decode video title
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sat, 14 Nov 2009 14:04:50 +0000
(15:04 +0100)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:56 +0000
(11:24 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index f57343ea80f17cfa7523f4be91a5fc5f57c02278..c3d9271c2cacef4dc9b1c29aef3185fdf87a8524 100755
(executable)
--- 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'%')