Browse Source

Merge pull request #1474 from Venca24/devel_mojeek

[add] mojeek engine
Noémi Ványi 6 years ago
parent
commit
62cc1dcc52
1 changed files with 14 additions and 0 deletions
  1. 14 0
      searx/settings.yml

+ 14 - 0
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