1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[fix] engine - pypi redirect

This commit is contained in:
jazzzooo 2023-09-12 16:01:06 +00:00 committed by Markus Heiser
parent 54a3e03b45
commit 976b3e21c4

View File

@ -1235,7 +1235,7 @@ engines:
shortcut: pypi shortcut: pypi
engine: xpath engine: xpath
paging: true 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"] results_xpath: /html/body/main/div/div/div/form/div/ul/li/a[@class="package-snippet"]
url_xpath: ./@href url_xpath: ./@href
title_xpath: ./h3/span[@class="package-snippet__name"] title_xpath: ./h3/span[@class="package-snippet__name"]