Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] engine - pypi redirect

jazzzooo976b3e21c499
diff --git a/searx/settings.yml b/searx/settings.yml
index 9dfa03e0e..f8d598efb 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"]