Merge pull request #2396 from lucky13820/patch-1
Fix the StartPage result title is showing the url
commit88660fde90c2d618f2d317ff1cafdf71508982f6
authorAlexandre Flament <alex@al-f.net>
dateThu 17 Dec 2020, 08:23 (6 years ago)
parent36235dffea8958
searx/engines/startpage.py+1−1
@@ -37,7 +37,7 @@ search_url = base_url + 'do/search'
3737# ads xpath //div[@id="results"]/div[@id="sponsored"]//div[@class="result"]
3838# not ads: div[@class="result"] are the direct childs of div[@id="results"]
3939results_xpath = '//div[@class="w-gl__result__main"]'
40−link_xpath = './/a[@class="w-gl__result-url result-link"]'
40+link_xpath = './/a[@class="w-gl__result-title result-link"]'
4141content_xpath = './/p[@class="w-gl__description"]'
4242
4343