mirror of
https://github.com/Jackett/Jackett
synced 2025-02-27 00:22:54 +00:00
asgaard: add config sort option
This commit is contained in:
parent
45a21ca33a
commit
ceb45bec27
1 changed files with 28 additions and 11 deletions
|
@ -62,16 +62,32 @@
|
||||||
movie-search: [q, imdbid]
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
- name: info
|
||||||
|
type: info
|
||||||
|
label: "About the Username field"
|
||||||
|
default: "Enter your <b>Email address</b> in the username field."
|
||||||
- name: username
|
- name: username
|
||||||
type: text
|
type: text
|
||||||
label: Username
|
label: Username
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
- name: info
|
- name: sort
|
||||||
type: info
|
type: select
|
||||||
label: "About the Username field"
|
label: Sort requested from site
|
||||||
default: "Enter your <b>Email address</b> in the username field."
|
default: "2"
|
||||||
|
options:
|
||||||
|
"2": "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: login.php
|
path: login.php
|
||||||
|
@ -94,9 +110,9 @@
|
||||||
# https://asgrd.org/browse.php?sns=&sna=&spf=&sr=&sg=&sys=&sye=&srs=&sre=&si=tt2401090&ss=&incldead=0&only_free=0&sort=4&type=desc
|
# https://asgrd.org/browse.php?sns=&sna=&spf=&sr=&sg=&sys=&sye=&srs=&sre=&si=tt2401090&ss=&incldead=0&only_free=0&sort=4&type=desc
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}cats[]={{.}}&{{end}}"
|
$raw: "{{ range .Categories }}cats[]={{.}}&{{end}}"
|
||||||
sns: ""
|
sns: ""
|
||||||
sna: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
|
sna: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
spf: ""
|
spf: ""
|
||||||
sr: ""
|
sr: ""
|
||||||
sg: ""
|
sg: ""
|
||||||
|
@ -110,8 +126,9 @@
|
||||||
incldead: 0
|
incldead: 0
|
||||||
# 0 incl non-free 1 incl only-free
|
# 0 incl non-free 1 incl only-free
|
||||||
only_free: 0
|
only_free: 0
|
||||||
sort: 4
|
sort: "{{ .Config.sort }}"
|
||||||
type: desc
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.table-striped > tbody > tr:has(a[href*="details.php?id="])
|
selector: table.table-striped > tbody > tr:has(a[href*="details.php?id="])
|
||||||
filters:
|
filters:
|
||||||
|
@ -157,8 +174,8 @@
|
||||||
selector: td:nth-child(10)
|
selector: td:nth-child(10)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src="./images/gold.png"]: "0"
|
img[src="./images/gold.png"]: 0
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"*": "1"
|
"*": 1
|
||||||
|
|
Loading…
Reference in a new issue