mirror of
https://github.com/Jackett/Jackett
synced 2025-02-26 16:12:55 +00:00
xtremefile: add config sort option
This commit is contained in:
parent
246bf48aba
commit
7ae1b57ddd
1 changed files with 30 additions and 2 deletions
|
@ -43,6 +43,30 @@
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-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:
|
login:
|
||||||
path: takelogin.php
|
path: takelogin.php
|
||||||
method: post
|
method: post
|
||||||
|
@ -59,14 +83,18 @@
|
||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
# 0 name 1 descr 2 both
|
# 0 name 1 descr 2 both
|
||||||
blah: 0
|
blah: 0
|
||||||
# 1 all 2 onlydead 3 free 4 x2
|
# 1 all 2 onlydead 3 free 4 x2
|
||||||
incldead: 1
|
incldead: 1
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table tbody tr.browse, table tbody tr.sticky
|
selector: table tbody tr.browse, table tbody tr.sticky
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href^="browse.php?cat="]
|
selector: a[href^="browse.php?cat="]
|
||||||
|
@ -101,7 +129,7 @@
|
||||||
selector: td:nth-last-child(3)
|
selector: td:nth-last-child(3)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: ([\d\.]+)
|
args: (\d+)
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-last-child(2)
|
selector: td:nth-last-child(2)
|
||||||
leechers:
|
leechers:
|
||||||
|
|
Loading…
Reference in a new issue