Browse Source

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

totalwebcasting
Sergey M․ 10 years ago
parent
commit
02175a7986
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/youtube.py

+ 1
- 1
youtube_dl/extractor/youtube.py 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',
} }


Loading…
Cancel
Save