From: Jaime Marquínez Ferrándiz Date: Fri, 25 Apr 2014 11:19:03 +0000 (+0200) Subject: [youtube] Don't call 'unquote_plus' on the video title (fixes #2799) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=aa92f063086bcc5b4d8606dc549c1fae5be9a525;p=youtube-dl [youtube] Don't call 'unquote_plus' on the video title (fixes #2799) It's already unquoted after calling 'compat_parse_qs'. It replaced '+' with spaces, for example in https://www.youtube.com/watch?v=XC0b5YexO-I. --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 039c10dd3..c008ed54a 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1117,7 +1117,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): # title if 'title' in video_info: - video_title = compat_urllib_parse.unquote_plus(video_info['title'][0]) + video_title = video_info['title'][0] else: self._downloader.report_warning(u'Unable to extract video title') video_title = u'_'