summaryrefslogtreecommitdiff
path: root/searx/engines/startpage.py
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-08-24 11:31:30 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-08-24 11:31:30 +0200
commit996c96fffff328497c2ba305c61e064256c84188 (patch)
tree5883a13486a54e96980eedefdd37cea4c6f7b439 /searx/engines/startpage.py
parent23b9095cbf2d31a1495ee3d63a55bd81548cd367 (diff)
downloadsearxng-996c96fffff328497c2ba305c61e064256c84188.tar.gz
searxng-996c96fffff328497c2ba305c61e064256c84188.zip
[fix] block ixquick search url's
Diffstat (limited to 'searx/engines/startpage.py')
-rw-r--r--searx/engines/startpage.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py
index 08e4f7a5b..7d58f7f01 100644
--- a/searx/engines/startpage.py
+++ b/searx/engines/startpage.py
@@ -73,6 +73,10 @@ def response(resp):
if re.match("^http(s|)://(www\.)?startpage\.com/do/search\?.*$", url):
continue
+ # block ixquick search url's
+ if re.match("^http(s|)://(www\.)?ixquick\.com/do/search\?.*$", url):
+ continue
+
title = escape(extract_text(link))
if result.xpath('./p[@class="desc"]'):