From 64584902714c0aee61857c7681ad91e2a93d2409 Mon Sep 17 00:00:00 2001 From: Diagonalo Date: Tue, 9 Apr 2024 20:40:44 +0200 Subject: [PATCH] [mod] engine 'mwmbl: Update API URL --- searx/engines/mwmbl.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/searx/engines/mwmbl.py b/searx/engines/mwmbl.py index 01d5e692f..80144d392 100644 --- a/searx/engines/mwmbl.py +++ b/searx/engines/mwmbl.py @@ -17,7 +17,6 @@ from urllib.parse import urlencode about = { "website": 'https://github.com/mwmbl/mwmbl', - "official_api_documentation": 'https://api.mwmbl.org/docs', "use_official_api": True, "require_api_key": False, "results": 'JSON', @@ -25,11 +24,11 @@ about = { paging = False categories = ['general'] -api_url = "https://api.mwmbl.org" +api_url = "https://api.mwmbl.org/api/v1" def request(query, params): - params['url'] = f"{api_url}/search?{urlencode({'s': query})}" + params['url'] = f"{api_url}/search/?{urlencode({'s': query})}" return params