summaryrefslogtreecommitdiff
path: root/searx/search
diff options
context:
space:
mode:
authorÉmilien Devos <contact@emiliendevos.be>2022-07-05 21:39:23 +0000
committerMarkus Heiser <markus.heiser@darmarit.de>2022-07-06 00:10:09 +0200
commit63a995b8c1cb69a0fa4b0e89a8d10107b9a896c1 (patch)
tree5b6d0c455a7b7a9970a256d87598f3758885e9bc /searx/search
parent7fec286f31f983f08a35b3e901d253be5f44689e (diff)
downloadsearxng-63a995b8c1cb69a0fa4b0e89a8d10107b9a896c1.tar.gz
searxng-63a995b8c1cb69a0fa4b0e89a8d10107b9a896c1.zip
Better explanation for the use of use_mobile_ui
Diffstat (limited to 'searx/search')
-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: