From ac0c6cc2d146e6fcf18006d9c71d3796be5a9c2b Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 26 Nov 2024 09:56:41 +0100 Subject: [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 --- searx/engines/wordnik.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'searx/engines') 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 -- cgit v1.2.3