diff options
author | Bnyro <bnyro@tutanota.com> | 2024-05-13 18:21:35 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-05-15 16:03:35 +0200 |
commit | 0f2f52f0b52f08e6706fc32da090f682aaf42d41 (patch) | |
tree | 0761bbea2b321e3f6997de52488612b7e73bbb52 /searx | |
parent | 949a73103fb8af519544409aa7c0af8c6b72358e (diff) | |
download | searxng-0f2f52f0b52f08e6706fc32da090f682aaf42d41.tar.gz searxng-0f2f52f0b52f08e6706fc32da090f682aaf42d41.zip |
[fix] google: don't display that keyword is missing in content field
Diffstat (limited to 'searx')
-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 fd59a0e2e..ef82a057b 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -62,7 +62,7 @@ filter_mapping = {0: 'off', 1: 'medium', 2: 'high'} results_xpath = './/div[contains(@jscontroller, "SC7lYd")]' title_xpath = './/a/h3[1]' href_xpath = './/a[h3]/@href' -content_xpath = './/div[@data-sncf]' +content_xpath = './/div[@data-sncf="1"]' # Suggestions are links placed in a *card-section*, we extract only the text # from the links not the links itself. |