mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youtube:search] Fix search query (Closes #5988)
This commit is contained in:
parent
8117df4cd9
commit
02175a7986
1 changed files with 1 additions and 1 deletions
|
@ -1504,7 +1504,7 @@ def _get_n_results(self, query, n):
|
||||||
|
|
||||||
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…
Reference in a new issue