Browse Source

Merge pull request #1643 from vojkovic/master

Revert Google XPath.
Léon Tiekötter 2 years ago
parent
commit
07342899e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/engines/google.py

+ 1 - 1
searx/engines/google.py

@@ -113,7 +113,7 @@ filter_mapping = {0: 'off', 1: 'medium', 2: 'high'}
 # ------------------------
 
 # google results are grouped into <div class="jtfYYd ..." ../>
-results_xpath = '//div[contains(@class, "kvH3mc")]'
+results_xpath = '//div[contains(@class, "jtfYYd")]'
 
 # google *sections* are no usual *results*, we ignore them
 g_section_with_header = './g-section-with-header'