[enh] right dao engine: allow additional classes

Allow additional classes while parsing to prevent the engine from breaking in the future if additional classes are added to the elements.

Co-authored-by: Bnyro <bnyro@tutanota.com>
This commit is contained in:
Finn Steffens 2024-09-12 14:41:16 +02:00 committed by GitHub
parent 5a8ac4078a
commit 79d6ce1733
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1553,9 +1553,9 @@ engines:
paging: true
page_size: 12
search_url: https://rightdao.com/search?q={query}&start={pageno}
results_xpath: //div[@class="description"]
url_xpath: ../div[@class="title"]/a/@href
title_xpath: ../div[@class="title"]
results_xpath: //div[contains(@class, "description")]
url_xpath: ../div[contains(@class, "title")]/a/@href
title_xpath: ../div[contains(@class, "title")]
content_xpath: .
categories: general
shortcut: rd