mirror of https://github.com/Jackett/Jackett
bittorrentam: add config sort option
This commit is contained in:
parent
2790357a20
commit
d5b6a35473
|
@ -24,14 +24,27 @@
|
||||||
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: "pdd"
|
||||||
|
options:
|
||||||
|
"pdd": "created desc"
|
||||||
|
"pd": "created asc"
|
||||||
|
"sdsd": "seeders desc"
|
||||||
|
"sds": "seeders asc"
|
||||||
|
"szd": "size desc"
|
||||||
|
"sz": "size asc"
|
||||||
|
"td": "title desc"
|
||||||
|
"t": "title asc"
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: a[ href^="magnet:?xt="]
|
selector: a[ href^="magnet:?xt="]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{if .Keywords}}search.php?kwds={{ .Keywords}}{{else}}/{{end}}"
|
- path: "{{if .Keywords}}search.php?kwds={{ .Keywords}}&ord={{ .Config.sort }}&cat=100{{else}}/{{end}}"
|
||||||
rows:
|
rows:
|
||||||
selector: table.torrentsTable:has(tr.r) tbody tr.r
|
selector: table.torrentsTable:has(tr.r) tbody tr.r
|
||||||
fields:
|
fields:
|
||||||
|
|
Loading…
Reference in New Issue