summaryrefslogtreecommitdiff
path: root/searx/engines/startpage.py
diff options
context:
space:
mode:
authorlucky13820 <hello@ryanyao.design>2020-12-16 13:54:14 -0800
committerGitHub <noreply@github.com>2020-12-16 13:54:14 -0800
commitfea8958e9933e35c4f01314eaa6dfd4fabfe143f (patch)
tree1704871baa3a3174e6be4f7625582f1918a784ca /searx/engines/startpage.py
parent002d53abf35192ba1094d7516da10b3442ca1f16 (diff)
Fix the StartPage result title is showing the url
Fix the issue 2395 where StartPage result title is showing the url. https://github.com/searx/searx/issues/2395
Diffstat (limited to 'searx/engines/startpage.py')
-rw-r--r--searx/engines/startpage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py
index 16e846a14..cd8b132f9 100644
--- a/searx/engines/startpage.py
+++ b/searx/engines/startpage.py
@@ -37,7 +37,7 @@ search_url = base_url + 'do/search'
# 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__main"]'
-link_xpath = './/a[@class="w-gl__result-url result-link"]'
+link_xpath = './/a[@class="w-gl__result-title result-link"]'
content_xpath = './/p[@class="w-gl__description"]'