A feature-rich command-line audio/video downloader
YoutubeSearchIE: the query is a str, in python 3 it fails if decode is called
Jaime Marquínez Ferrándizf380401bbd1f
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.pyindex 24a77a1abb..2823346350 100755--- a/youtube_dl/InfoExtractors.py+++ b/youtube_dl/InfoExtractors.py@@ -1424,7 +1424,6 @@ class YoutubeSearchIE(SearchInfoExtractor):def report_download_page(self, query, pagenum):"""Report attempt to download search page with given number."""- query = query.decode(preferredencoding())self._downloader.to_screen(u'[youtube] query "%s": Downloading page %s' % (query, pagenum))def _get_n_results(self, query, n):