From 90bdb2375698715b954b836ad2459c2ba285887c Mon Sep 17 00:00:00 2001 From: Johan Planchon Date: Wed, 10 Aug 2022 11:45:24 +0200 Subject: [PATCH] add lib.rs engine --- searx/settings.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 12d1f93f7..4e96d024f 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1846,6 +1846,23 @@ engines: require_api_key: false results: HTML + - name: lib.rs + shortcut: lrs + engine: xpath + search_url: https://lib.rs/search?q={query} + results_xpath: /html/body/main/div/ol/li/a + url_xpath: ./@href + title_xpath: ./div[@class="h"]/h4 + content_xpath: ./div[@class="h"]/p + categories: [it, packages] + disabled: true + about: + website: https://lib.rs + wikidata_id: Q113486010 + use_official_api: false + require_api_key: false + results: HTML + # Doku engine lets you access to any Doku wiki instance: # A public one or a privete/corporate one. # - name: ubuntuwiki