diff options
author | Diagonalo <no.reply@github.com> | 2024-04-09 20:40:44 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-04-10 06:51:28 +0200 |
commit | 64584902714c0aee61857c7681ad91e2a93d2409 (patch) | |
tree | 235e257f1f5e5504fe23b72d4a45debba0f73658 /searx/engines/mwmbl.py | |
parent | f1a148f53e9fbd10e95baa442b40327732259f25 (diff) | |
download | searxng-64584902714c0aee61857c7681ad91e2a93d2409.tar.gz searxng-64584902714c0aee61857c7681ad91e2a93d2409.zip |
[mod] engine 'mwmbl: Update API URL
Diffstat (limited to 'searx/engines/mwmbl.py')
-rw-r--r-- | searx/engines/mwmbl.py | 5 |
1 files 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 |