From 8567cc74335654dbb0e2b17b48e3a5ddb8c1b5e2 Mon Sep 17 00:00:00 2001 From: Venca24 Date: Sun, 6 Jan 2019 10:47:09 +0100 Subject: [PATCH] [add] mojeek engine --- searx/settings.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 845c4c876..35172bd6a 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