diff options
author | Léon Tiekötter <leon@tiekoetter.com> | 2022-07-26 00:24:15 +0200 |
---|---|---|
committer | Léon Tiekötter <leon@tiekoetter.com> | 2022-07-26 00:24:15 +0200 |
commit | 950f036c038db8a6af34d5e47f91f590ac517e45 (patch) | |
tree | 92e1be07e66ddd5773b6f5c03b083c933d706744 /searx/engines/google.py | |
parent | 747cf1a246df587aeb3b6b175c315ef0b9612dc4 (diff) | |
download | searxng-950f036c038db8a6af34d5e47f91f590ac517e45.tar.gz searxng-950f036c038db8a6af34d5e47f91f590ac517e45.zip |
[fix] google engine: results XPath
Diffstat (limited to 'searx/engines/google.py')
-rw-r--r-- | searx/engines/google.py | 2 |
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' |