From b27f07af2366db61ad8754005f8138f980606196 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Mon, 5 Sep 2016 22:35:54 +0200 Subject: [enh] socks proxy support --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 2c034a863..c0422d95a 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -25,7 +25,7 @@ outgoing: # communication with search engines pool_maxsize : 10 # Number of simultaneous requests by host # uncomment below section if you want to use a proxy # see http://docs.python-requests.org/en/latest/user/advanced/#proxies -# SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478 +# SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks # proxies : # http : http://127.0.0.1:8080 # https: http://127.0.0.1:8080 -- cgit v1.2.3 From f4525880ed5f965ac4c241638933842a27a2acf7 Mon Sep 17 00:00:00 2001 From: potato Date: Tue, 6 Sep 2016 11:47:27 +0200 Subject: [enh] dictionary engine added --- searx/settings.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 2c034a863..b998e0c0d 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -495,6 +495,10 @@ engines: timeout: 6.0 categories : science + - name : dictionary + engine : dictionary + shortcut : dc + #The blekko technology and team have joined IBM Watson! -> https://blekko.com/ # - name : blekko images # engine : blekko_images -- cgit v1.2.3 From 5416f0f248e1c8072c69b4a272af07bd4c0d8e5e Mon Sep 17 00:00:00 2001 From: potato Date: Tue, 6 Sep 2016 12:50:56 +0200 Subject: [enh] dictionary engine renamed to dictzone --- searx/settings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 8c552eb02..ce768ce81 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -495,8 +495,8 @@ engines: timeout: 6.0 categories : science - - name : dictionary - engine : dictionary + - name : dictzone + engine : dictzone shortcut : dc #The blekko technology and team have joined IBM Watson! -> https://blekko.com/ -- cgit v1.2.3 From ab471fd13b3891a5a924e8c2cd18a1079e7ac8e0 Mon Sep 17 00:00:00 2001 From: potato Date: Tue, 6 Sep 2016 15:40:07 +0200 Subject: [enh] mymemory translated engine added for multi-word translations --- searx/settings.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index ce768ce81..ba5824bb1 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -499,6 +499,14 @@ engines: engine : dictzone shortcut : dc + - name : mymemory translated + engine : translated + shortcut : tl + timeout : 5.0 + # You can use without an API key, but you are limited to 1000 words/day + # See : http://mymemory.translated.net/doc/usagelimits.php + # api_key : '' + #The blekko technology and team have joined IBM Watson! -> https://blekko.com/ # - name : blekko images # engine : blekko_images -- cgit v1.2.3 From 8c72a22757290754fc15fecb82dd157f6ea56a7f Mon Sep 17 00:00:00 2001 From: potato Date: Tue, 6 Sep 2016 16:12:34 +0200 Subject: [enh] api_key usage, disable the engine by default --- searx/settings.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index ba5824bb1..63a4b0acf 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -7,7 +7,7 @@ search: autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default server: - port : 8888 + port : 8889 bind_address : "127.0.0.1" # address to listen on secret_key : "ultrasecretkey" # change this! base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" @@ -503,6 +503,7 @@ engines: engine : translated shortcut : tl timeout : 5.0 + disabled : True # You can use without an API key, but you are limited to 1000 words/day # See : http://mymemory.translated.net/doc/usagelimits.php # api_key : '' -- cgit v1.2.3 From 5ed9846bbf9ac990b35b4860d5e63bd689f41de1 Mon Sep 17 00:00:00 2001 From: potato Date: Tue, 6 Sep 2016 16:35:12 +0200 Subject: [fix] revert the port change --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 63a4b0acf..4969c4ac6 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -7,7 +7,7 @@ search: autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default server: - port : 8889 + port : 8888 bind_address : "127.0.0.1" # address to listen on secret_key : "ultrasecretkey" # change this! base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" -- cgit v1.2.3 From baeb3ff9112e0a178733f20bd55ed4a4d0088a75 Mon Sep 17 00:00:00 2001 From: firebovine Date: Sat, 10 Sep 2016 17:08:34 -0400 Subject: fix xpath expressions for urban dictionary --- searx/settings.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 4969c4ac6..308a0bd45 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -450,9 +450,9 @@ engines: # - name : urbandictionary # engine : xpath # search_url : http://www.urbandictionary.com/define.php?term={query} -# url_xpath : //div[@class="word"]//a/@href -# title_xpath : //div[@class="word"]//a -# content_xpath : //div[@class="definition"] +# url_xpath : //*[@class="word"]/@href +# title_xpath : //*[@class="def-header"] +# content_xpath : //*[@class="meaning"] # shortcut : ud - name : yahoo -- cgit v1.2.3 From 86daef2063a83a6aee90e9f269644e0803ae9cb9 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Wed, 28 Sep 2016 22:30:05 +0200 Subject: [fix] do not allow underscore in engine names - closes #708 --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 308a0bd45..72bc7ed0f 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -377,7 +377,7 @@ engines: timeout : 10.0 disabled : True - - name : scanr_structures + - name : scanr structures shortcut: scs engine : scanr_structures disabled : True -- cgit v1.2.3