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
-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'