diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-08-13 20:37:16 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-08-13 20:37:16 +0200 |
| commit | 8845bcc3ba295a18e4c8cd9a3bb16796a5eb870a (patch) | |
| tree | b28975742a3643d2a1ea130207782d1f45df04e8 | |
| parent | 32b16ccaacb96d0ceef60db47b51fa1b93a29a51 (diff) | |
add paging
| -rw-r--r-- | config/searx/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/searx/default.nix b/config/searx/default.nix index a641689..927c160 100644 --- a/config/searx/default.nix +++ b/config/searx/default.nix @@ -121,7 +121,8 @@ in { { name = "AlternativeTo"; engine = "xpath"; - search_url = "https://alternativeto.net/browse/search?q={query}"; + paging = true; + search_url = "https://alternativeto.net/browse/search?q={query}&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''; title_xpath = ''./h3/a''; |
