forked from zaclys/searxng
		
	[mod] engine google_play: raise error on unsupported category
This commit is contained in:
		
							parent
							
								
									0a99dc85b9
								
							
						
					
					
						commit
						9f82c39610
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -48,7 +48,8 @@ def response(resp):
 | 
			
		|||
        return response_movies(resp)
 | 
			
		||||
    if play_categ == 'apps':
 | 
			
		||||
        return response_apps(resp)
 | 
			
		||||
    return []
 | 
			
		||||
 | 
			
		||||
    raise ValueError(f"Unsupported play category: {play_categ}")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def response_movies(resp):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue