From 8162d7aff4a61801615d8044b71c7c477b2b2816 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 1 Oct 2020 09:44:29 +0200 Subject: [PATCH] [fix] google engine - div classes has been renamed in HTML reult Since 1. October 2020 google has changed the 'class' attribute of the HTML result page. Fix the xpath expressions and ignore
sections which do not match to title's xpath expression. Signed-off-by: Markus Heiser --- searx/engines/google.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/searx/engines/google.py b/searx/engines/google.py index 7dc6b44ac..c9faadb6e 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -116,12 +116,12 @@ g_section_with_header = './g-section-with-header' # the title is a h3 tag relative to the result group title_xpath = './/h3[1]' -# in the result group there is