A feature-rich command-line audio/video downloader
Use quote_plus instead of manually replacing spaces by plus signs
Ricardo Garciaa9633f14577d
diff --git a/youtube-dl b/youtube-dlindex 29afd930f0..3e7f13956d 100755--- a/youtube-dl+++ b/youtube-dl@@ -776,7 +776,7 @@ class YoutubeSearchIE(InfoExtractor):while True:self.report_download_page(query, pagenum)- result_url = self._TEMPLATE_URL % (urllib.quote(query.replace(' ', '+')), pagenum)+ result_url = self._TEMPLATE_URL % (urllib.quote_plus(query), pagenum)request = urllib2.Request(result_url, None, std_headers)try:page = urllib2.urlopen(request).read()