mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 18:59:01 +00:00
nntt: add config sort options
This commit is contained in:
parent
cd6de00aa1
commit
d662666976
1 changed files with 24 additions and 5 deletions
|
@ -640,7 +640,23 @@
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
|
||||||
settings: []
|
settings:
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "t"
|
||||||
|
options:
|
||||||
|
"t": "created"
|
||||||
|
"ts": "seeders"
|
||||||
|
"sz": "size"
|
||||||
|
"i": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "d"
|
||||||
|
options:
|
||||||
|
"d": "desc"
|
||||||
|
"a": "asc"
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: a[href^="./download/file.php?id="]
|
selector: a[href^="./download/file.php?id="]
|
||||||
|
@ -654,11 +670,14 @@
|
||||||
sf: titleonly
|
sf: titleonly
|
||||||
fp: 1
|
fp: 1
|
||||||
tracker_search: torrent
|
tracker_search: torrent
|
||||||
keywords: "{{if .Keywords }}{{.Keywords}}{{else}}2019{{end}}"
|
sk: "{{ .Config.sort }}"
|
||||||
$raw: "{{range .Categories}}&fid[]={{.}}{{end}}"
|
sd: "{{ .Config.type }}"
|
||||||
|
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}2019{{end}}"
|
||||||
|
$raw: "{{ range .Categories }}&fid[]={{.}}{{end}}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.tablebg tr.col_line
|
selector: table.tablebg tr.col_line
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href^="./viewtopic.php?f="]
|
selector: a[href^="./viewtopic.php?f="]
|
||||||
|
@ -721,6 +740,6 @@
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02 Jan 2006"
|
args: "02 Jan 2006"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue