From 2ec47dce5e0d41260d45ef037c20d602fd13b1b5 Mon Sep 17 00:00:00 2001 From: ganeshlab <52805750+ganeshlab@users.noreply.github.com> Date: Tue, 4 Apr 2023 19:12:46 +0000 Subject: [PATCH] Fix google engine (#3489) This issue popped up again and part of the fix was in https://github.com/searxng/searxng/commit/6f9e678346e5978a09ee453a62fa133cdc0ee0bd. --- searx/engines/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/google.py b/searx/engines/google.py index 8d80f297..457365ef 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -112,7 +112,7 @@ filter_mapping = { results_xpath = '//div[contains(@class, "MjjYud")]' title_xpath = './/h3[1]' href_xpath = './/a/@href' -content_xpath = './/div[@data-content-feature=1]' +content_xpath = './/div[@data-sncf]' results_xpath_mobile_ui = '//div[contains(@class, "g ")]' # google *sections* are no usual *results*, we ignore them