mirror of
https://github.com/searxng/searxng.git
synced 2024-12-21 08:46:28 +00:00
[fix] url encoding
This commit is contained in:
parent
ea475ee709
commit
f4fdb1e756
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ url = 'https://ajax.googleapis.com/'
|
|||
search_url = url + 'ajax/services/search/images?v=1.0&start=0&rsz=large&safe=off&filter=off&{query}'
|
||||
|
||||
def request(query, params):
|
||||
params['url'] = search_url + urlencode({'q': query})
|
||||
params['url'] = search_url.format(query=urlencode({'q': query}))
|
||||
return params
|
||||
|
||||
def response(resp):
|
||||
|
|
Loading…
Reference in a new issue