summaryrefslogtreecommitdiff
path: root/searx/engines/google_images.py
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-10-25 11:20:46 +0200
committerasciimoo <asciimoo@gmail.com>2013-10-25 11:20:46 +0200
commitf4fdb1e75627f793cc04940a6dc732f4fdbbbcc7 (patch)
tree7dcaee886b4fc4d7cfcf36698432ad785e02d827 /searx/engines/google_images.py
parentea475ee709379b2189eb83a32f76c5b5427a2a60 (diff)
downloadsearxng-f4fdb1e75627f793cc04940a6dc732f4fdbbbcc7.tar.gz
searxng-f4fdb1e75627f793cc04940a6dc732f4fdbbbcc7.zip
[fix] url encoding
Diffstat (limited to 'searx/engines/google_images.py')
-rwxr-xr-xsearx/engines/google_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py
index 9b822f544..d828a9c4b 100755
--- a/searx/engines/google_images.py
+++ b/searx/engines/google_images.py
@@ -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):