summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-07-06 00:16:26 +0200
committerGitHub <noreply@github.com>2022-07-06 00:16:26 +0200
commitbe2f782c9e3f1b9d93b8a6bfb51fc6774bdc58e9 (patch)
tree3797d036ba0d9ed8ae93fa8cb27bab86df22b106
parentef5d4a7094bea9ec26aa76e0c4869f4de073dec8 (diff)
parent63a995b8c1cb69a0fa4b0e89a8d10107b9a896c1 (diff)
downloadsearxng-be2f782c9e3f1b9d93b8a6bfb51fc6774bdc58e9.tar.gz
searxng-be2f782c9e3f1b9d93b8a6bfb51fc6774bdc58e9.zip
Merge pull request #1460 from unixfox/patch-1
Better explanation for the use of use_mobile_ui
-rw-r--r--searx/search/processors/online.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py
index f8fbcf40c..0cfe6e123 100644
--- a/searx/search/processors/online.py
+++ b/searx/search/processors/online.py
@@ -163,7 +163,10 @@ class OnlineProcessor(EngineProcessor):
self.logger.exception('CAPTCHA')
except SearxEngineTooManyRequestsException as e:
if "google" in self.engine_name:
- self.logger.warn("We recommend enabling the use_mobile_ui parameter if google is blocked for you.")
+ self.logger.warn(
+ "Set to 'true' the use_mobile_ui parameter in the 'engines:'"
+ " section of your settings.yml file if google is blocked for you."
+ )
self.handle_exception(result_container, e, suspend=True)
self.logger.exception('Too many requests')
except SearxEngineAccessDeniedException as e: