Browse Source

Revert PR #1633

This reverts the changes made to the Google results XPath in PR #1633.
Brock Vojković 2 years ago
parent
commit
24210fb10b
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 ..." ../>
 # 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
 # google *sections* are no usual *results*, we ignore them
 g_section_with_header = './g-section-with-header'
 g_section_with_header = './g-section-with-header'