diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-06-11 19:15:07 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-06-11 19:15:07 +0200 |
commit | f380401bbd1f41e00bc2d75a1354aed64bb18c30 (patch) | |
tree | 2b90ebf4a3669c75bba813fc59dc218d2ca7fee4 /youtube_dl/InfoExtractors.py | |
parent | 9abc6c8b3114083edd080a9f4357dcf4b3fd288c (diff) |
YoutubeSearchIE: the query is a str, in python 3 it fails if decode is called
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 24a77a1ab..282334635 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): |