summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-08-13 19:41:58 +0200
committerQuentin Aristote <quentin@aristote.fr>2021-08-13 19:41:58 +0200
commit0bac146a7788ab23372d985f8dab65028b5f9af0 (patch)
tree833ab61a855896ccaff396d04fe50fd23bb994c4 /config
parent2a9446ea8467d78988c1198ee6d8fb40b94cadee (diff)
correct xpath
Diffstat (limited to 'config')
-rw-r--r--config/searx/default.nix6
1 files changed, 3 insertions, 3 deletions
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;