From 63a995b8c1cb69a0fa4b0e89a8d10107b9a896c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milien=20Devos?= Date: Tue, 5 Jul 2022 21:39:23 +0000 Subject: [PATCH] Better explanation for the use of use_mobile_ui --- searx/search/processors/online.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: