mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	Better explanation for the use of use_mobile_ui
This commit is contained in:
		
							parent
							
								
									7fec286f31
								
							
						
					
					
						commit
						63a995b8c1
					
				@ -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:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user