add lib.rs engine

This commit is contained in:
Johan Planchon 2022-08-10 11:45:24 +02:00 committed by Johan Planchon
parent 07342899e5
commit 90bdb23756

View File

@ -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