Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[mod] image results removed from google engine

Adam Tauber0f4cb32bf176
diff --git a/searx/engines/google.py b/searx/engines/google.py
index fee379925..d4db82a2e 100644
--- 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])