Browse Source

Merge pull request #1341 from tiekoetter/fix-mojeek-xpath

[fix] mojeek engine: XPath
Markus Heiser 2 years ago
parent
commit
9f819d4b6a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      searx/settings.yml

+ 2 - 2
searx/settings.yml

@@ -1585,8 +1585,8 @@ engines:
     search_url: https://www.mojeek.com/search?q={query}&s={pageno}
     results_xpath: //a[@class="ob"]
     url_xpath: ./@href
-    title_xpath: ./..
-    content_xpath: ../../p[@class="s"]
+    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: 0
     page_size: 10