Browse Source

YoutubeSearchIE: the query is a str, in python 3 it fails if decode is called

rtmp_test
Jaime Marquínez Ferrándiz 12 years ago
parent
commit
f380401bbd
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      youtube_dl/InfoExtractors.py

+ 0
- 1
youtube_dl/InfoExtractors.py View File

@ -1424,7 +1424,6 @@ class YoutubeSearchIE(SearchInfoExtractor):
def report_download_page(self, query, pagenum): def report_download_page(self, query, pagenum):
"""Report attempt to download search page with given number.""" """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)) self._downloader.to_screen(u'[youtube] query "%s": Downloading page %s' % (query, pagenum))
def _get_n_results(self, query, n): def _get_n_results(self, query, n):


Loading…
Cancel
Save