diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-12-08 23:39:45 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-12-08 23:39:45 +0100 |
| commit | 70981f8055ae636e577fa675e2c7d62af7103c09 (patch) | |
| tree | 2dc8992aad30d7a80e08d088ca7eed04ab4f2597 | |
| parent | 9517f7a6e775aded6f1673f4a991594b08750467 (diff) | |
| parent | b973081134bcb8f727b178128224f4a7a741c3ad (diff) | |
Merge pull request #142 from Cqoicebordel/Fix-Google-Image
[fix] Google image with special chars
| -rw-r--r-- | searx/engines/google_images.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index 7b8b15b42..491f5c2c2 100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py @@ -9,7 +9,7 @@ # @stable yes (but deprecated) # @parse url, title, img_src -from urllib import urlencode +from urllib import urlencode,unquote from json import loads # engine dependent config @@ -52,7 +52,7 @@ def response(resp): results.append({'url': href, 'title': title, 'content': '', - 'img_src': result['url'], + 'img_src': unquote(result['url']), 'template': 'images.html'}) # return results |