[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"]