summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorLéon Tiekötter <leon@tiekoetter.com>2022-07-26 00:24:15 +0200
committerLéon Tiekötter <leon@tiekoetter.com>2022-07-26 00:24:15 +0200
commit950f036c038db8a6af34d5e47f91f590ac517e45 (patch)
tree92e1be07e66ddd5773b6f5c03b083c933d706744 /searx
parent747cf1a246df587aeb3b6b175c315ef0b9612dc4 (diff)
downloadsearxng-950f036c038db8a6af34d5e47f91f590ac517e45.tar.gz
searxng-950f036c038db8a6af34d5e47f91f590ac517e45.zip
[fix] google engine: results XPath
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/google.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google.py b/searx/engines/google.py
index 4468558ac..e54699081 100644
--- a/searx/engines/google.py
+++ b/searx/engines/google.py
@@ -112,7 +112,7 @@ filter_mapping = {0: 'off', 1: 'medium', 2: 'high'}
# ------------------------
# google results are grouped into <div class="jtfYYd ..." ../>
-results_xpath = '//div[@class="jtfYYd"]'
+results_xpath = '//div[contains(@class, "jtfYYd")]'
# google *sections* are no usual *results*, we ignore them
g_section_with_header = './g-section-with-header'