diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-15 21:01:26 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-15 21:01:26 +0600 |
commit | 02175a7986c4223a0ed27a872c1ca16926913e05 (patch) | |
tree | 74c81d4ae6a31aeda5fcf604eee81ceb3446b01b /youtube_dl/extractor/youtube.py | |
parent | 8117df4cd9e49a3c7369db3cab6c0b94365c7786 (diff) |
[youtube:search] Fix search query (Closes #5988)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 3448bec4f..9e2671192 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1504,7 +1504,7 @@ class YoutubeSearchIE(SearchInfoExtractor, YoutubePlaylistIE): for pagenum in itertools.count(1): url_query = { - 'search_query': query, + 'search_query': query.encode('utf-8'), 'page': pagenum, 'spf': 'navigate', } |