summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authora01200356 <a01200356@itesm.mx>2016-05-19 00:38:43 -0500
committerMarc Abonce Seguin <marc-abonce@mailbox.org>2020-10-25 17:59:05 -0700
commitc3daa08537668c24224fffecbed4347fee936fcf (patch)
tree23cfde77015e13e8687bf08bee9d5a4271b7af7f /searx/webapp.py
parent0a44fa8bb7eca0d81f0ebdab37b9845b260473ad (diff)
downloadsearxng-c3daa08537668c24224fffecbed4347fee936fcf.tar.gz
searxng-c3daa08537668c24224fffecbed4347fee936fcf.zip
[enh] Add onions category with Ahmia, Not Evil and Torch
Xpath engine and results template changed to account for the fact that archive.org doesn't cache .onions, though some onion engines migth have their own cache. Disabled by default. Can be enabled by setting the SOCKS proxies to wherever Tor is listening and setting using_tor_proxy as True. Requires Tor and updating packages. To avoid manually adding the timeout on each engine, you can set extra_proxy_timeout to account for Tor's (or whatever proxy used) extra time.
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index cf9a09778..609669b85 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -146,6 +146,7 @@ _category_names = (gettext('files'),
gettext('it'),
gettext('news'),
gettext('map'),
+ gettext('onions'),
gettext('science'))
outgoing_proxies = settings['outgoing'].get('proxies') or None