Skip to content

A feature-rich command-line audio/video downloader

[youtube] Don't call 'unquote_plus' on the video title (fixes #2799)

Jaime Marquínez Ferrándizaa92f063086b
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 039c10dd39..c008ed54a1 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'_'