on master help sign in
Merge pull request #142 from Cqoicebordel/Fix-Google-Image

[fix] Google image with special chars

commit70981f8055ae636e577fa675e2c7d62af7103c09 authorAdam Tauber <asciimoo@gmail.com> dateMon 8 Dec 2014, 23:39 (12 years ago) parent9517f7ab973081
1 file changed+2−2
searx/engines/google_images.py+2−2
searx/engines/google_images.py+2−2
@@ -9,7 +9,7 @@
99# @stable yes (but deprecated)
1010# @parse url, title, img_src
1111
12−from urllib import urlencode
12+from urllib import urlencode,unquote
1313from json import loads
1414
1515# engine dependent config
@@ -52,7 +52,7 @@ def response(resp):
5252 results.append({'url': href,
5353 'title': title,
5454 'content': '',
55− 'img_src': result['url'],
55+ 'img_src': unquote(result['url']),
5656 'template': 'images.html'})
5757
5858 # return results