From b91cc7e0aef752af38290c2d9ab3f6dbb10db233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Tiek=C3=B6tter?= Date: Thu, 20 Jan 2022 17:23:05 +0100 Subject: [PATCH] Allow 'using_tor_proxy' to be set for each engine individually Check 'using_tor_proxy' for each engine individually instead of checking globally --- searx/engines/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index b762c0dd9..715b16336 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -255,7 +255,7 @@ def is_engine_active(engine: Engine): return False # exclude onion engines if not using tor - if 'onions' in engine.categories and not settings['outgoing'].get('using_tor_proxy'): + if 'onions' in engine.categories and not engine.using_tor_proxy: return False return True