From 0bac146a7788ab23372d985f8dab65028b5f9af0 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 13 Aug 2021 19:41:58 +0200 Subject: correct xpath --- config/searx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/searx') diff --git a/config/searx/default.nix b/config/searx/default.nix index 88c1d8b..519bc4e 100644 --- a/config/searx/default.nix +++ b/config/searx/default.nix @@ -122,9 +122,9 @@ in { name = "AlternativeTo"; engine = "xpath"; search_url = "https://alternativeto.net/browse/search?q={query}"; - url_xpath = ''//article[class="row app-list-item"]/div/h3/a/@href''; - title_xpath = ''//article[class="row app-list-item"]/div/h3/a''; - content_xpath = ''//article[class="row app-list-item"]/div[class="itemDesc read-more-box"]/p''; + url_xpath = ''//li/article[class="row app-list-item"]/div/h3/a/@href''; + title_xpath = ''//li/article[class="row app-list-item"]/div/h3/a''; + content_xpath = ''//li/article[class="row app-list-item"]/div[class="itemDesc read-more-box"]/p''; shortcut = "a2"; categories = "it"; disabled = true; -- cgit v1.2.3