diff options
author | Milad-Laly <68471307+Milad-Laly@users.noreply.github.com> | 2023-01-09 06:33:11 +0000 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-01-09 09:33:47 +0100 |
commit | cf4db4be37d41bc428b551806c29eaf0a947aa87 (patch) | |
tree | 41da8e5587ba8eb9ed0d907c185533d3cebe66e9 | |
parent | 54e63839db9f99611127c058c0989721b4d3d19b (diff) | |
download | searxng-cf4db4be37d41bc428b551806c29eaf0a947aa87.tar.gz searxng-cf4db4be37d41bc428b551806c29eaf0a947aa87.zip |
[fix] Mojeek Xpath showing suggestions and searches + add lang support
-rw-r--r-- | searx/settings.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 3e7c2aae4..2226a12de 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1706,12 +1706,12 @@ engines: engine: xpath paging: true categories: [general, web] - search_url: https://www.mojeek.com/search?q={query}&s={pageno} - results_xpath: //a[@class="ob"] + search_url: https://www.mojeek.com/search?q={query}&s={pageno}&lang={lang}&lb={lang} + results_xpath: //ul[@class="results-standard"]/li/a[@class="ob"] url_xpath: ./@href - title_xpath: ./h2 - content_xpath: ../p[@class="s"] - suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a + title_xpath: ../h2/a + content_xpath: ..//p[@class="s"] + suggestion_xpath: //div[@class="top-info"]/p[@class="top-info spell"]/em/a first_page_num: 0 page_size: 10 disabled: true |