don't quote
This commit is contained in:
parent
6c707775a6
commit
983a060f7b
1 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ class JamendoClient:
|
|||
'client_id': self._client_id,
|
||||
'offset': offset,
|
||||
'format': 'json',
|
||||
'tags': urllib.parse.quote(tags),
|
||||
'tags': tags,
|
||||
'audioformat': audioformat,
|
||||
'imagesize': imagesize,
|
||||
'ccsa': ccsa,
|
||||
|
@ -35,9 +35,9 @@ class JamendoClient:
|
|||
'ccnc': ccnc,
|
||||
'limit': 5
|
||||
}
|
||||
if vocalinstrumental: params['vocalinstrumental'] = urllib.parse.quote(vocalinstrumental)
|
||||
if acousticelectric: params['acousticelectric'] = urllib.parse.quote(acousticelectric)
|
||||
if speed: params['speed'] = urllib.parse.quote(speed)
|
||||
if vocalinstrumental: params['vocalinstrumental'] = vocalinstrumental
|
||||
if acousticelectric: params['acousticelectric'] = acousticelectric
|
||||
if speed: params['speed'] = speed
|
||||
|
||||
url = urllib.parse.urljoin(API_BASE, f'tracks/?{urllib.parse.urlencode(params)}')
|
||||
|
||||
|
|
Loading…
Reference in a new issue