Merge pull request #1474 from Venca24/devel_mojeek

[add] mojeek engine
This commit is contained in:
Noémi Ványi 2019-01-06 11:33:35 +01:00 committed by GitHub
commit 62cc1dcc52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -710,6 +710,20 @@ engines:
page_size : 10 page_size : 10
disabled : True disabled : True
- name : mojeek
shortcut: mjk
engine: xpath
paging : True
search_url : https://www.mojeek.com/search?q={query}&s={pageno}
results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
url_xpath : ./h2/a/@href
title_xpath : ./h2
content_xpath : ./p[@class="s"]
suggestion_xpath : /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
first_page_num : 1
page_size : 10
disabled : True
# - name : yacy # - name : yacy
# engine : yacy # engine : yacy
# shortcut : ya # shortcut : ya