projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1f544
)
[soundcloud:search] Fix non-ASCII searches
author
Sergey M․
<dstftw@gmail.com>
Sat, 21 Nov 2015 14:55:48 +0000
(20:55 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 21 Nov 2015 14:55:48 +0000
(20:55 +0600)
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index a5c40514b6fb66de6ab6aa035268f389c99a989d..66bb1cb542e84039f14cfd422bb1b03f87e82ba4 100644
(file)
--- a/
youtube_dl/extractor/soundcloud.py
+++ b/
youtube_dl/extractor/soundcloud.py
@@
-14,6
+14,7
@@
from ..compat import (
compat_urllib_parse,
)
from ..utils import (
+ encode_dict,
ExtractorError,
int_or_none,
unified_strdate,
@@
-506,7
+507,7
@@
class SoundcloudSearchIE(SearchInfoExtractor, SoundcloudIE):
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)