summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/engines/google.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/google.py b/searx/engines/google.py
index 90d687a4e..3eaf1c19d 100644
--- a/searx/engines/google.py
+++ b/searx/engines/google.py
@@ -334,6 +334,8 @@ def response(resp):
# results --> answer
answer_list = eval_xpath(dom, '//div[contains(@class, "LGOjhe")]')
for item in answer_list:
+ for bubble in eval_xpath(item, './/div[@class="nnFGuf"]'):
+ bubble.drop_tree()
results.append(
{
'answer': item.xpath("normalize-space()"),