[or-cvs] [torflow/master 58/92] ixquick search mode

mikeperry at torproject.org mikeperry at torproject.org
Sat Aug 21 05:14:00 UTC 2010


Author: John M. Schanck <john at anomos.info>
Date: Wed, 4 Aug 2010 14:55:32 -0400
Subject: ixquick search mode
Commit: 7f2e4375032b81f94b741d64e53d6258ae6d00cc

---
 NetworkScanners/ExitAuthority/soat_config.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/soat_config.py b/NetworkScanners/ExitAuthority/soat_config.py
index a4762fc..c717a18 100644
--- a/NetworkScanners/ExitAuthority/soat_config.py
+++ b/NetworkScanners/ExitAuthority/soat_config.py
@@ -125,11 +125,14 @@ search_cookie_file="./search_cookies.lwp"
 # XXX: Make a bing search mode.
 yahoo_search_mode = {"host" : "search.yahoo.com", "query":"p", "filetype": "originurlextension:", "inurl":None, "class":"yschttl", "realtgt":"ourl", "useragent":False}
 google_search_mode = {"host" : "www.google.com", "query":"q", "filetype":"filetype:", "inurl":"inurl:", "class" : "l", "realtgt":"href", "useragent":True}
+ixquick_search_mode = {"host" : "ixquick.com/do/metasearch.pl", "query":"all_terms", "filetype":"title:", \
+                      "inurl":"url:", "class" : "title2", "realtgt":"href", "useragent":False}
  
 # FIXME: This does not affect the ssl search.. Only Google has 
 # a working "inurl:" that allows you to pick the scheme to be https 
 #default_search_mode = google_search_mode
-default_search_mode = yahoo_search_mode
+#default_search_mode = yahoo_search_mode
+default_search_mode = ixquick_search_mode
 
 # Regex of characters we consider unsafe to write to the filesystem
 unsafe_filechars = "[^a-zA-Z0-9-\.+]"
-- 
1.7.1




More information about the tor-commits mailing list