Browse Source

[fix] block ixquick search url's

Thomas Pointhuber 9 years ago
parent
commit
996c96ffff
1 changed files with 4 additions and 0 deletions
  1. 4 0
      searx/engines/startpage.py

+ 4 - 0
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"]'):