mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[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:
parent
5a8ac4078a
commit
79d6ce1733
1 changed files with 3 additions and 3 deletions
|
@ -1553,9 +1553,9 @@ engines:
|
||||||
paging: true
|
paging: true
|
||||||
page_size: 12
|
page_size: 12
|
||||||
search_url: https://rightdao.com/search?q={query}&start={pageno}
|
search_url: https://rightdao.com/search?q={query}&start={pageno}
|
||||||
results_xpath: //div[@class="description"]
|
results_xpath: //div[contains(@class, "description")]
|
||||||
url_xpath: ../div[@class="title"]/a/@href
|
url_xpath: ../div[contains(@class, "title")]/a/@href
|
||||||
title_xpath: ../div[@class="title"]
|
title_xpath: ../div[contains(@class, "title")]
|
||||||
content_xpath: .
|
content_xpath: .
|
||||||
categories: general
|
categories: general
|
||||||
shortcut: rd
|
shortcut: rd
|
||||||
|
|
Loading…
Add table
Reference in a new issue