|
@@ -9,7 +9,7 @@
|
|
# @stable yes (but deprecated)
|
|
# @stable yes (but deprecated)
|
|
# @parse url, title, img_src
|
|
# @parse url, title, img_src
|
|
|
|
|
|
-from urllib import urlencode
|
|
|
|
|
|
+from urllib import urlencode,unquote
|
|
from json import loads
|
|
from json import loads
|
|
|
|
|
|
# engine dependent config
|
|
# engine dependent config
|
|
@@ -52,7 +52,7 @@ def response(resp):
|
|
results.append({'url': href,
|
|
results.append({'url': href,
|
|
'title': title,
|
|
'title': title,
|
|
'content': '',
|
|
'content': '',
|
|
- 'img_src': result['url'],
|
|
|
|
|
|
+ 'img_src': unquote(result['url']),
|
|
'template': 'images.html'})
|
|
'template': 'images.html'})
|
|
|
|
|
|
# return results
|
|
# return results
|