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]
|
||||
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:
|
||||
path: takelogin.php
|
||||
method: post
|
||||
|
@ -65,8 +89,12 @@
|
|||
blah: 0
|
||||
# 1 all 2 onlydead 3 free 4 x2
|
||||
incldead: 1
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: table tbody tr.browse, table tbody tr.sticky
|
||||
|
||||
fields:
|
||||
category:
|
||||
selector: a[href^="browse.php?cat="]
|
||||
|
@ -101,7 +129,7 @@
|
|||
selector: td:nth-last-child(3)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: ([\d\.]+)
|
||||
args: (\d+)
|
||||
seeders:
|
||||
selector: td:nth-last-child(2)
|
||||
leechers:
|
||||
|
|
Loading…
Reference in a new issue