Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Merge branch 'master' into master

Noémi Ványiaeb6dab18729
diff --cc searx/engines/startpage.py
index a52d9128d,166c11f83..55efdc884
--- a/searx/engines/startpage.py
+++ b/searx/engines/startpage.py
@@@ -73,10 -74,14 +74,10 @@@ def response(resp)
if re.match(r"^http(s|)://(www\.)?startpage\.com/do/search\?.*$", url):
continue
- # block ixquick search url's
- if re.match(r"^http(s|)://(www\.)?ixquick\.com/do/search\?.*$", url):
- continue
-
title = extract_text(link)
- if result.xpath('./p[@class="desc clk"]'):
- content = extract_text(result.xpath('./p[@class="desc clk"]'))
+ if result.xpath(content_xpath):
+ content = extract_text(result.xpath(content_xpath))
else:
content = ''