summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-05-29 10:51:50 +0200
committerGitHub <noreply@github.com>2022-05-29 10:51:50 +0200
commitffffe304ba57995f4f4803dea2a2ece90e53e0ec (patch)
tree54f7b5b6c2ec2c1301d34c601c77447fd058b031
parente93385e6de8d77b1e8285547d642ca9f0d4021dc (diff)
parent7c8903c809de595ce2fe511c1dca08af6a650393 (diff)
Merge pull request #1250 from tiekoetter/fix-mojeek-xpath
[fix] mojeek engine: xpath
-rw-r--r--searx/settings.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index e35fe54e0..ee0735fef 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1539,10 +1539,10 @@ engines:
paging: true
categories: [general, web]
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"]
+ results_xpath: //a[@class="ob"]
+ url_xpath: ./@href
+ title_xpath: ./..
+ content_xpath: ../../p[@class="s"]
suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
first_page_num: 0
page_size: 10