From 79d6ce17334d77205c8fc44958faa7410e3b2fdf Mon Sep 17 00:00:00 2001 From: Finn Steffens <34682885+0xhtml@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:41:16 +0200 Subject: [PATCH] [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 --- searx/settings.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 689c40917..4417485bc 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -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