diff options
author | Emilien Devos <contact@emiliendevos.be> | 2022-06-11 17:20:56 +0200 |
---|---|---|
committer | Emilien Devos <contact@emiliendevos.be> | 2022-06-11 17:20:56 +0200 |
commit | 0d4c066119895f2c68b5de68db9cc79fea0ba221 (patch) | |
tree | 390d9a60d11d5e4fc94c1cea909731e7def0ee35 /searx/search | |
parent | 59ef9b9287f1beda12f7b9a20b93cbc378a22bac (diff) | |
download | searxng-0d4c066119895f2c68b5de68db9cc79fea0ba221.tar.gz searxng-0d4c066119895f2c68b5de68db9cc79fea0ba221.zip |
notify the user that use_mobile_ui parameter exist
Diffstat (limited to 'searx/search')
-rw-r--r-- | searx/search/processors/online.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py index 8d8275df1..f8fbcf40c 100644 --- a/searx/search/processors/online.py +++ b/searx/search/processors/online.py @@ -162,6 +162,8 @@ class OnlineProcessor(EngineProcessor): self.handle_exception(result_container, e, suspend=True) 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.handle_exception(result_container, e, suspend=True) self.logger.exception('Too many requests') except SearxEngineAccessDeniedException as e: |