mirror of
https://github.com/Jackett/Jackett
synced 2025-02-27 00:22:54 +00:00
awsomehd: add config sort option
This commit is contained in:
parent
99b40f36e1
commit
0610401418
1 changed files with 31 additions and 6 deletions
|
@ -18,6 +18,29 @@
|
||||||
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: "time"
|
||||||
|
options:
|
||||||
|
"time": "created"
|
||||||
|
"seeders": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: form
|
method: form
|
||||||
|
@ -35,11 +58,15 @@
|
||||||
paths:
|
paths:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||||
searchstr: "{{ .Query.Keywords }}"
|
searchstr: "{{ .Keywords }}"
|
||||||
page: torrents
|
page: torrents
|
||||||
|
order_by: "{{ .Config.sort }}"
|
||||||
|
order_way: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrent_table > tbody > tr.group, tr.torrent, tr.group_torrent:not(.edition_info)
|
selector: table#torrent_table > tbody > tr.group, tr.torrent, tr.group_torrent:not(.edition_info)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
download:
|
download:
|
||||||
selector: a[href^="torrents.php?action=download&id="]
|
selector: a[href^="torrents.php?action=download&id="]
|
||||||
|
@ -52,8 +79,6 @@
|
||||||
selector: td:nth-child(3) > a
|
selector: td:nth-child(3) > a
|
||||||
category:
|
category:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(2)
|
||||||
# files:
|
|
||||||
# selector: td:nth-child(4)
|
|
||||||
date:
|
date:
|
||||||
selector: td:nth-last-child(5)
|
selector: td:nth-last-child(5)
|
||||||
size:
|
size:
|
||||||
|
@ -66,7 +91,7 @@
|
||||||
selector: td:nth-last-child(1)
|
selector: td:nth-last-child(1)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"*": "1"
|
"*": 1
|
Loading…
Reference in a new issue