summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-11-26 09:56:41 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-11-26 10:06:07 +0100
commitac0c6cc2d146e6fcf18006d9c71d3796be5a9c2b (patch)
treeba0f0b509d087fc7a7e45e103ce737af2ed0c267 /searx/engines
parent36a6f9c95fe8db95d861aca01c95354545dd5feb (diff)
downloadsearxng-ac0c6cc2d146e6fcf18006d9c71d3796be5a9c2b.tar.gz
searxng-ac0c6cc2d146e6fcf18006d9c71d3796be5a9c2b.zip
[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>
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/wordnik.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/searx/engines/wordnik.py b/searx/engines/wordnik.py
index 21eaeccc3..9b048a068 100644
--- a/searx/engines/wordnik.py
+++ b/searx/engines/wordnik.py
@@ -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