diff options
author | asciimoo <asciimoo@gmail.com> | 2013-10-25 11:20:46 +0200 |
---|---|---|
committer | asciimoo <asciimoo@gmail.com> | 2013-10-25 11:20:46 +0200 |
commit | f4fdb1e75627f793cc04940a6dc732f4fdbbbcc7 (patch) | |
tree | 7dcaee886b4fc4d7cfcf36698432ad785e02d827 /searx/engines/google_images.py | |
parent | ea475ee709379b2189eb83a32f76c5b5427a2a60 (diff) | |
download | searxng-f4fdb1e75627f793cc04940a6dc732f4fdbbbcc7.tar.gz searxng-f4fdb1e75627f793cc04940a6dc732f4fdbbbcc7.zip |
[fix] url encoding
Diffstat (limited to 'searx/engines/google_images.py')
-rwxr-xr-x | searx/engines/google_images.py | 2 |
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): |