commit: 0f4cb32bf176f234dd743729f7e785b3b4215854
parent: 2538a3ec26990c850afe3fa5e7b616400cc1a73d
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 9 Dec 2014 00:53:09 +0100
[mod] image results removed from google engine
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/searx/engines/google.py b/searx/engines/google.py
@@ -85,10 +85,13 @@ def response(resp):
# remove the link to google news
continue
+ # images result
if (parsed_url.netloc == google_hostname
and parsed_url.path == images_path):
- # images result
- results = results + parse_images(result)
+ # only thumbnail image provided,
+ # so skipping image results
+ # results = results + parse_images(result)
+ pass
else:
# normal result
content = extract_text(result.xpath(content_xpath)[0])