mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01: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']
|
categories = ['general']
|
||||||
paging = False
|
paging = False
|
||||||
|
|
||||||
URL = 'https://www.wordnik.com'
|
|
||||||
SEARCH_URL = URL + '/words/{query}'
|
|
||||||
|
|
||||||
|
|
||||||
def request(query, params):
|
def request(query, params):
|
||||||
params['url'] = SEARCH_URL.format(query=query)
|
params['url'] = f"https://www.wordnik.com/words/{query}"
|
||||||
logger.debug(f"query_url --> {params['url']}")
|
|
||||||
return params
|
return params
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -443,7 +443,6 @@ engines:
|
||||||
shortcut: wp
|
shortcut: wp
|
||||||
# add "list" to the array to get results in the results list
|
# add "list" to the array to get results in the results list
|
||||||
display_type: ["infobox"]
|
display_type: ["infobox"]
|
||||||
base_url: 'https://{language}.wikipedia.org/'
|
|
||||||
categories: [general]
|
categories: [general]
|
||||||
|
|
||||||
- name: bilibili
|
- name: bilibili
|
||||||
|
@ -2233,7 +2232,6 @@ engines:
|
||||||
- name: wordnik
|
- name: wordnik
|
||||||
engine: wordnik
|
engine: wordnik
|
||||||
shortcut: def
|
shortcut: def
|
||||||
base_url: https://www.wordnik.com/
|
|
||||||
categories: [dictionaries]
|
categories: [dictionaries]
|
||||||
timeout: 5.0
|
timeout: 5.0
|
||||||
|
|
||||||
|
@ -2282,7 +2280,6 @@ engines:
|
||||||
- name: sjp.pwn
|
- name: sjp.pwn
|
||||||
engine: sjp
|
engine: sjp
|
||||||
shortcut: sjp
|
shortcut: sjp
|
||||||
base_url: https://sjp.pwn.pl/
|
|
||||||
timeout: 5.0
|
timeout: 5.0
|
||||||
disabled: true
|
disabled: true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue