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 View File

@@ -73,6 +73,10 @@ def response(resp):
73 73
         if re.match("^http(s|)://(www\.)?startpage\.com/do/search\?.*$", url):
74 74
             continue
75 75
 
76
+        # block ixquick search url's
77
+        if re.match("^http(s|)://(www\.)?ixquick\.com/do/search\?.*$", url):
78
+            continue
79
+
76 80
         title = escape(extract_text(link))
77 81
 
78 82
         if result.xpath('./p[@class="desc"]'):