mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 04:27:46 +01:00
Merge pull request #142 from Cqoicebordel/Fix-Google-Image
[fix] Google image with special chars
This commit is contained in:
commit
70981f8055
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user