소스 검색

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

Jaime Marquínez Ferrándiz 12 년 전
부모
커밋
f380401bbd
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      youtube_dl/InfoExtractors.py

+ 0 - 1
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):