mirror of
https://github.com/searxng/searxng.git
synced 2024-11-04 20:30:11 +01:00
[doc] add documentation of Mwmbl engine & autocompleter
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
df71c24b20
commit
b0d2cd5ca9
27
docs/dev/engines/online/mwmbl.rst
Normal file
27
docs/dev/engines/online/mwmbl.rst
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
.. _Mwmbl engine:
|
||||||
|
|
||||||
|
============
|
||||||
|
Mwmbl Engine
|
||||||
|
============
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
:depth: 2
|
||||||
|
:local:
|
||||||
|
:backlinks: entry
|
||||||
|
|
||||||
|
|
||||||
|
.. _mwmbl web engine:
|
||||||
|
|
||||||
|
Mwmbl WEB
|
||||||
|
=========
|
||||||
|
|
||||||
|
.. automodule:: searx.engines.mwmbl
|
||||||
|
:members:
|
||||||
|
|
||||||
|
|
||||||
|
.. _mwmbl autocomplete:
|
||||||
|
|
||||||
|
Mwmbl Autocomplete
|
||||||
|
==================
|
||||||
|
|
||||||
|
.. autofunction:: searx.autocomplete.mwmbl
|
@ -111,6 +111,8 @@ def google_complete(query, sxng_locale):
|
|||||||
|
|
||||||
|
|
||||||
def mwmbl(query, _lang):
|
def mwmbl(query, _lang):
|
||||||
|
"""Autocomplete from Mwmbl_."""
|
||||||
|
|
||||||
# mwmbl autocompleter
|
# mwmbl autocompleter
|
||||||
url = 'https://api.mwmbl.org/search/complete?{query}'
|
url = 'https://api.mwmbl.org/search/complete?{query}'
|
||||||
|
|
||||||
|
@ -1,6 +1,17 @@
|
|||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
# lint: pylint
|
# lint: pylint
|
||||||
"""mwmbl (general)
|
"""Mwmbl_ is a non-profit, ad-free, free-libre and free-lunch search engine with
|
||||||
|
a focus on useability and speed.
|
||||||
|
|
||||||
|
.. hint::
|
||||||
|
|
||||||
|
At the moment it is little more than an idea together with a proof of concept
|
||||||
|
implementation of the web front-end and search technology on a small index.
|
||||||
|
Mwmbl_ does not support regions, languages, safe-search or time range.
|
||||||
|
search.
|
||||||
|
|
||||||
|
.. _Mwmbl: https://github.com/mwmbl/mwmbl
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from urllib.parse import urlencode
|
from urllib.parse import urlencode
|
||||||
|
Loading…
Reference in New Issue
Block a user