Merge pull request #107 from return42/wikimini

[enh] add engine Wikimini (fr.wikimini.org)
This commit is contained in:
Alexandre Flament 2021-05-28 14:47:38 +02:00 committed by GitHub
commit 54e783f3b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1335,6 +1335,26 @@ engines:
timeout: 5.0 timeout: 5.0
disabled: True disabled: True
# wikimini: online encyclopedia for children
# Tthe fulltext and title parameter is necessary for Wikimini because
# sometimes it will not show the results and redirect instead
- name: wikimini
engine: xpath
shortcut: wkmn
search_url : https://fr.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
url_xpath : //li/div[@class="mw-search-result-heading"]/a/@href
title_xpath : //li//div[@class="mw-search-result-heading"]/a
content_xpath : //li/div[@class="searchresult"]
categories : general
disabled: True
about:
website: https://wikimini.org/
wikidata_id: Q3568032
use_official_api: false
require_api_key: false
results: HTML
# Doku engine lets you access to any Doku wiki instance: # Doku engine lets you access to any Doku wiki instance:
# A public one or a privete/corporate one. # A public one or a privete/corporate one.
# - name : ubuntuwiki # - name : ubuntuwiki