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

[fix] mojeek engine: XPath
This commit is contained in:
Markus Heiser 2022-06-17 09:42:40 +02:00 committed by GitHub
commit 9f819d4b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1585,8 +1585,8 @@ engines:
search_url: https://www.mojeek.com/search?q={query}&s={pageno} search_url: https://www.mojeek.com/search?q={query}&s={pageno}
results_xpath: //a[@class="ob"] results_xpath: //a[@class="ob"]
url_xpath: ./@href url_xpath: ./@href
title_xpath: ./.. title_xpath: ./h2
content_xpath: ../../p[@class="s"] content_xpath: ../p[@class="s"]
suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
first_page_num: 0 first_page_num: 0
page_size: 10 page_size: 10