Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 62cc1dcc authored by Noémi Ványi's avatar Noémi Ványi Committed by GitHub
Browse files

Merge pull request #1474 from Venca24/devel_mojeek

[add] mojeek engine
parents abcbcec0 8567cc74
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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