mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 03:03:01 +00:00
[soundcloud:search] Fix non-ASCII searches
This commit is contained in:
parent
7e1f5447e7
commit
4e3b303016
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
compat_urllib_parse,
|
||||
)
|
||||
from ..utils import (
|
||||
encode_dict,
|
||||
ExtractorError,
|
||||
int_or_none,
|
||||
unified_strdate,
|
||||
|
@ -506,7 +507,7 @@ def _get_collection(self, endpoint, collection_id, **query):
|
|||
for i in itertools.count():
|
||||
if not next_url:
|
||||
query['offset'] = i * results_per_page
|
||||
data = compat_urllib_parse.urlencode(query)
|
||||
data = compat_urllib_parse.urlencode(encode_dict(query))
|
||||
next_url = '{0}{1}?{2}'.format(
|
||||
self._API_V2_BASE, endpoint, data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue