浏览代码

[mod] image results removed from google engine

Adam Tauber 10 年前
父节点
当前提交
0f4cb32bf1
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5
    2
      searx/engines/google.py

+ 5
- 2
searx/engines/google.py 查看文件

@@ -85,10 +85,13 @@ def response(resp):
85 85
                 # remove the link to google news
86 86
                 continue
87 87
 
88
+            # images result
88 89
             if (parsed_url.netloc == google_hostname
89 90
                     and parsed_url.path == images_path):
90
-                # images result
91
-                results = results + parse_images(result)
91
+                # only thumbnail image provided,
92
+                # so skipping image results
93
+                # results = results + parse_images(result)
94
+                pass
92 95
             else:
93 96
                 # normal result
94 97
                 content = extract_text(result.xpath(content_xpath)[0])