.oO SearXNG Developer Documentation Oo.
|
Classes | |
class | ApiSearchResult |
class | ApiSearchResults |
Functions | |
request (str query, dict[str, t.Any] params) | |
response (SXNG_Response resp) | |
init (dict[str, t.Any] engine_settings) |
Variables | |
dict | about |
str | base_url = "https://api.marginalia.nu" |
bool | safesearch = True |
list | categories = ["general"] |
bool | paging = False |
int | results_per_page = 20 |
api_key = None |
`Marginalia Search`_ is an independent open source Internet search engine operating out of Sweden. It is principally developed and operated by Viktor Lofgren . .. _Marginalia Search: https://about.marginalia-search.com/ Configuration ============= The engine has the following required settings: - :py:obj:`api_key` You can configure a Marginalia engine by: .. code:: yaml - name: marginalia engine: marginalia shortcut: mar api_key: ... Implementations ===============
searx.engines.marginalia.init | ( | dict[str, t.Any] | engine_settings | ) |
Definition at line 115 of file marginalia.py.
searx.engines.marginalia.request | ( | str | query, |
dict[str, t.Any] | params ) |
Definition at line 87 of file marginalia.py.
searx.engines.marginalia.response | ( | SXNG_Response | resp | ) |
Definition at line 98 of file marginalia.py.
dict searx.engines.marginalia.about |
Definition at line 37 of file marginalia.py.
searx.engines.marginalia.api_key = None |
Definition at line 51 of file marginalia.py.
str searx.engines.marginalia.base_url = "https://api.marginalia.nu" |
Definition at line 46 of file marginalia.py.
list searx.engines.marginalia.categories = ["general"] |
Definition at line 48 of file marginalia.py.
bool searx.engines.marginalia.paging = False |
Definition at line 49 of file marginalia.py.
int searx.engines.marginalia.results_per_page = 20 |
Definition at line 50 of file marginalia.py.
bool searx.engines.marginalia.safesearch = True |
Definition at line 47 of file marginalia.py.