[fix] engine - pypi redirect

This commit is contained in:
jazzzooo 2023-09-12 16:01:06 +00:00 committed by MatthieuBarbu
parent ff55fda6aa
commit a9d1119b8d

View File

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