From 7c8903c809de595ce2fe511c1dca08af6a650393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Tiek=C3=B6tter?= Date: Sat, 28 May 2022 17:58:38 +0200 Subject: [PATCH] [fix] mojeek engine: xpath --- searx/settings.yml | 8 ++++---- 1 file 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