From a9d1119b8d453d71b067dd333f44c21363519d87 Mon Sep 17 00:00:00 2001 From: jazzzooo <38244149+jazzzooo@users.noreply.github.com> Date: Tue, 12 Sep 2023 16:01:06 +0000 Subject: [PATCH] [fix] engine - pypi redirect --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/settings.yml b/searx/settings.yml index c37f09cf7..191f74991 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1235,7 +1235,7 @@ engines: shortcut: pypi engine: xpath paging: true - search_url: https://pypi.org/search?q={query}&page={pageno} + search_url: https://pypi.org/search/?q={query}&page={pageno} results_xpath: /html/body/main/div/div/div/form/div/ul/li/a[@class="package-snippet"] url_xpath: ./@href title_xpath: ./h3/span[@class="package-snippet__name"]