[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
1 changed files with 1 additions and 1 deletions

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