Browse Source

[Fix] Startpage

joshu9h 4 years ago
parent
commit
8260435c8b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      searx/engines/startpage.py

+ 2 - 2
searx/engines/startpage.py

@@ -36,8 +36,8 @@ search_url = base_url + 'do/search'
 # specific xpath variables
 # ads xpath //div[@id="results"]/div[@id="sponsored"]//div[@class="result"]
 # not ads: div[@class="result"] are the direct childs of div[@id="results"]
-results_xpath = '//div[@class="w-gl__result"]'
-link_xpath = './/a[@class="w-gl__result-title"]'
+results_xpath = '//div[@class="w-gl__result__main"]'
+link_xpath = './/a[@class="w-gl__result-url result-link"]'
 content_xpath = './/p[@class="w-gl__description"]'