on master help sign in
Merge pull request #2385 from joshu9h/patch-1
292b73aAlexandre Flament
searx/engines/startpage.py+2−2
@@ -36,8 +36,8 @@ search_url = base_url + 'do/search'
36# specific xpath variables
36# specific xpath variables
37# ads xpath //div[@id="results"]/div[@id="sponsored"]//div[@class="result"]
37# ads xpath //div[@id="results"]/div[@id="sponsored"]//div[@class="result"]
38# not ads: div[@class="result"] are the direct childs of div[@id="results"]
38# not ads: div[@class="result"] are the direct childs of div[@id="results"]
39−results_xpath = '//div[@class="w-gl__result"]'
39+results_xpath = '//div[@class="w-gl__result__main"]'
40−link_xpath = './/a[@class="w-gl__result-title"]'
40+link_xpath = './/a[@class="w-gl__result-url result-link"]'
41content_xpath = './/p[@class="w-gl__description"]'
41content_xpath = './/p[@class="w-gl__description"]'
42
42
43
43