summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/services/web/searx/searx/engines.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/services/web/searx/searx/engines.nix b/config/services/web/searx/searx/engines.nix
index 1ce7205..7aa292a 100644
--- a/config/services/web/searx/searx/engines.nix
+++ b/config/services/web/searx/searx/engines.nix
@@ -31,7 +31,8 @@ in (disable [
name = "alternativeto";
engine = "xpath";
paging = true;
- search_url = "https://alternativeto.net/browse/search?q={query}&p={pageno}";
+ # an invisible whitespace is added at the end of the query to prevent redirections
+ search_url = "https://alternativeto.net/browse/search?q={query}%E2%80%8E&p={pageno}";
results_xpath = ''
//article[@class="row app-list-item"]/div[@class="col-xs-10 col-sm-10 col-md-11 col-lg-offset-1 col-lg-11"]'';
url_xpath = "./h3/a/@href";