mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] pypi engine: use packages.html
This commit is contained in:
parent
35873b5a1c
commit
d58760ef75
2 changed files with 69 additions and 17 deletions
|
|
@ -1457,23 +1457,7 @@ engines:
|
|||
|
||||
- name: pypi
|
||||
shortcut: pypi
|
||||
engine: xpath
|
||||
paging: true
|
||||
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"]
|
||||
content_xpath: ./p
|
||||
suggestion_xpath: /html/body/main/div/div/div/form/div/div[@class="callout-block"]/p/span/a[@class="link"]
|
||||
first_page_num: 1
|
||||
categories: [it, packages]
|
||||
about:
|
||||
website: https://pypi.org
|
||||
wikidata_id: Q2984686
|
||||
official_api_documentation: https://warehouse.readthedocs.io/api-reference/index.html
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
engine: pypi
|
||||
|
||||
- name: qwant
|
||||
qwant_categ: web
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue