summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-01-06 11:33:35 +0100
committerGitHub <noreply@github.com>2019-01-06 11:33:35 +0100
commit62cc1dcc520b308eae8ecf80857272243669afb0 (patch)
tree3148bc1cbee5201cc86516ccc3e24929a853ae5a
parentabcbcec0b5ab9a3108ccc972876fdb60c7911e7a (diff)
parent8567cc74335654dbb0e2b17b48e3a5ddb8c1b5e2 (diff)
Merge pull request #1474 from Venca24/devel_mojeek
[add] mojeek engine
-rw-r--r--searx/settings.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 845c4c87..35172bd6 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -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