mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[chore] remove invalid base_url from settings.yml engines
The engines do not have / do not need a property `base_url`, lets remove it from the settings.yml Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
36a6f9c95f
commit
ac0c6cc2d1
2 changed files with 1 additions and 8 deletions
|
@ -20,13 +20,9 @@ about = {
|
|||
categories = ['general']
|
||||
paging = False
|
||||
|
||||
URL = 'https://www.wordnik.com'
|
||||
SEARCH_URL = URL + '/words/{query}'
|
||||
|
||||
|
||||
def request(query, params):
|
||||
params['url'] = SEARCH_URL.format(query=query)
|
||||
logger.debug(f"query_url --> {params['url']}")
|
||||
params['url'] = f"https://www.wordnik.com/words/{query}"
|
||||
return params
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue