mirror of
https://github.com/searxng/searxng.git
synced 2025-12-26 05:30:01 +00:00
[mod] engine google_play: raise error on unsupported category
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user