Merge pull request #1650 from joxcat/eng-librs

Add lib.rs engine
This commit is contained in:
Markus Heiser 2022-08-10 17:45:28 +02:00 committed by GitHub
commit 5706d110f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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