diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-10-26 12:06:55 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-10-26 12:06:55 +0200 |
| commit | 927afbff72a34054bc540c0806e6c4eb9737c028 (patch) | |
| tree | ce43df60c77c145f02dfd51537b8cbf7bf71db8e | |
| parent | bd7798aaca8ac57ccd38745854ff8a81861c0b05 (diff) | |
add nlab engine
| -rw-r--r-- | config/services/web/searx/searx/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config/services/web/searx/searx/default.nix b/config/services/web/searx/searx/default.nix index 9550fc6..6306a35 100644 --- a/config/services/web/searx/searx/default.nix +++ b/config/services/web/searx/searx/default.nix @@ -117,6 +117,25 @@ in { name = "duckduckgo"; disabled = false; } + { + name = "nLab"; + engine = "xpath"; + search_url = "https://ncatlab.org/nlab/search?query={query}"; + url_xpath = "//li/a/@href"; + title_xpath = "//li/a"; + content_xpath = "//li/a"; + shortcut = "nlab"; + categories = "science"; + disabled = true; + about = { + website = "https://ncatlab.org/"; + wikidata_id = "Q6954693"; + official_api_documentation = ""; + use_official_api = false; + require_api_key = false; + results = "HTML"; + }; + } ]; }; }; |
