From 972705b2564314ba5042f3de605adf84ef8e91e7 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Tue, 28 Nov 2023 19:11:27 +0100 Subject: [PATCH] [feat] engine: implementation of marginalia --- searx/settings.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 926cddb59..6f84543bb 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1857,6 +1857,23 @@ engines: # timeout: 5.0 # disabled: true + - name: marginalia + shortcut: ma + engine: xpath + categories: general + search_url: https://search.marginalia.nu/search?query={query} + results_xpath: //section[contains(@class, "search-result")] + url_xpath: ./div[contains(@class, "url")]/a/@href + title_xpath: ./h2 + content_xpath: ./p[contains(@class, "description")]/text() + disabled: true + about: + website: https://search.marginalia.nu + official_api_documentation: https://www.marginalia.nu/marginalia-search/api/ + use_official_api: true + require_api_key: false + results: JSON + - name: mojeek shortcut: mjk engine: xpath