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
1 changed files with 14 additions and 0 deletions

View File

@ -710,6 +710,20 @@ engines:
page_size : 10
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
# engine : yacy
# shortcut : ya