Minor fixes to wikimini engine

This commit is contained in:
Noémi Ványi 2021-05-26 23:34:25 +02:00
parent bed044cc62
commit c486adf8f7
1 changed files with 2 additions and 4 deletions

View File

@ -222,11 +222,9 @@ engines:
#The fulltext and title parameter is necessary for Wikimini because sometimes it will not show the results and redirect instead
- name: wikimini
engine: wikimini
engine: xpath
shortcut: wkmn
base_url : 'https://{language}.wikimini.org/'
paging : False
search_url : https://{language}.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
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"]