1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-30 06:01:50 +00:00

[youtube:search] Fix search query (Closes #5988)

This commit is contained in:
Sergey M․ 2015-06-15 21:01:26 +06:00
parent 8117df4cd9
commit 02175a7986

View file

@ -1504,7 +1504,7 @@ class YoutubeSearchIE(SearchInfoExtractor, YoutubePlaylistIE):
for pagenum in itertools.count(1): for pagenum in itertools.count(1):
url_query = { url_query = {
'search_query': query, 'search_query': query.encode('utf-8'),
'page': pagenum, 'page': pagenum,
'spf': 'navigate', 'spf': 'navigate',
} }