mirror of https://github.com/Jackett/Jackett
zooqle: add config sort options
This commit is contained in:
parent
9b0c4c8ed2
commit
4f2ef558ad
|
@ -25,17 +25,33 @@
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings: []
|
settings:
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "dt"
|
||||||
|
options:
|
||||||
|
"dt": "created"
|
||||||
|
"ns": "seeders"
|
||||||
|
"sz": "size"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "d"
|
||||||
|
options:
|
||||||
|
"d": "desc"
|
||||||
|
"a": "asc"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
# if keyword is specified sorted by descending seeders otherwise by time
|
|
||||||
# includes only verified torrents
|
# includes only verified torrents
|
||||||
paths:
|
paths:
|
||||||
- path: "search?{{if .Keywords}}s=ns&v=t&sd=d&q={{ .Keywords}}{{else}}s=dt&v=t&sd=d&q= *{{end}}{{if .Categories}} category:{{range .Categories}}{{.}},{{end}}{{else}}{{end}}"
|
- path: "search?{{ if .Keywords }}s={{ .Config.sort }}&v=t&sd={{ .Config.type }}&q={{ .Keywords }}{{else}}s={{ .Config.sort }}&v=t&sd={{ .Config.type }}&q= *{{end}}{{ if .Categories }} category:{{ range .Categories }}{{.}},{{end}}{{else}}{{end}}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr:has(td[class^="text-muted3"])
|
selector: tr:has(td[class^="text-muted3"])
|
||||||
filters:
|
filters:
|
||||||
- name: andmatch
|
- name: andmatch
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(2) a
|
selector: td:nth-child(2) a
|
||||||
|
@ -99,6 +115,6 @@
|
||||||
- name: replace
|
- name: replace
|
||||||
args: [",", ""]
|
args: [",", ""]
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
|
Loading…
Reference in New Issue