mirror of
https://github.com/Jackett/Jackett
synced 2025-01-19 14:10:07 +00:00
rns: add config sort options
This commit is contained in:
parent
f14831cb74
commit
b91c01ba4c
1 changed files with 28 additions and 2 deletions
|
@ -88,6 +88,30 @@
|
|||
modes:
|
||||
search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "4"
|
||||
options:
|
||||
"4": "created"
|
||||
"7": "seeders"
|
||||
"5": "size"
|
||||
"1": "title"
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "desc"
|
||||
options:
|
||||
"desc": "desc"
|
||||
"asc": "asc"
|
||||
|
||||
login:
|
||||
path: login.php
|
||||
method: form
|
||||
|
@ -110,7 +134,7 @@
|
|||
paths:
|
||||
- path: browse.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
# title descr all
|
||||
searchin: title
|
||||
|
@ -118,6 +142,8 @@
|
|||
incldead: 0
|
||||
# 0 incl vip 1 no vip 2 only vip
|
||||
vip: 0
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: tr.browse_color, tr.freeleech_color
|
||||
|
@ -169,7 +195,7 @@
|
|||
selector: td:nth-of-type(8) a
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "([\\d]+)"
|
||||
args: (\d+)
|
||||
seeders:
|
||||
selector: td:nth-of-type(9)
|
||||
leechers:
|
||||
|
|
Loading…
Reference in a new issue