forked from Ponysearch/Ponysearch
[feat] engine: implementation of anaconda
This commit is contained in:
parent
e25d1c7288
commit
c76c999a1e
1 changed files with 14 additions and 0 deletions
|
@ -328,6 +328,20 @@ engines:
|
||||||
enable_http: true
|
enable_http: true
|
||||||
shortcut: ah
|
shortcut: ah
|
||||||
|
|
||||||
|
- name: anaconda
|
||||||
|
engine: xpath
|
||||||
|
paging: true
|
||||||
|
first_page_num: 0
|
||||||
|
search_url: https://anaconda.org/search?q={query}&page={pageno}
|
||||||
|
results_xpath: //tbody/tr
|
||||||
|
url_xpath: ./td/h5/a[last()]/@href
|
||||||
|
title_xpath: ./td/h5
|
||||||
|
content_xpath: ./td[h5]/text()
|
||||||
|
categories: it
|
||||||
|
timeout: 6.0
|
||||||
|
shortcut: conda
|
||||||
|
disabled: true
|
||||||
|
|
||||||
- name: arch linux wiki
|
- name: arch linux wiki
|
||||||
engine: archlinux
|
engine: archlinux
|
||||||
shortcut: al
|
shortcut: al
|
||||||
|
|
Loading…
Reference in a new issue