diff options
author | Léon Tiekötter <leon@tiekoetter.com> | 2022-05-28 17:58:38 +0200 |
---|---|---|
committer | Léon Tiekötter <leon@tiekoetter.com> | 2022-05-28 18:09:25 +0200 |
commit | 7c8903c809de595ce2fe511c1dca08af6a650393 (patch) | |
tree | 54f7b5b6c2ec2c1301d34c601c77447fd058b031 | |
parent | e93385e6de8d77b1e8285547d642ca9f0d4021dc (diff) | |
download | searxng-7c8903c809de595ce2fe511c1dca08af6a650393.tar.gz searxng-7c8903c809de595ce2fe511c1dca08af6a650393.zip |
[fix] mojeek engine: xpath
-rw-r--r-- | searx/settings.yml | 8 |
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 |