mirror of https://github.com/Jackett/Jackett
asgaard: add freeleech filter #9456
This commit is contained in:
parent
ee980ba5db
commit
aebcbe2ea1
|
@ -73,6 +73,10 @@ settings:
|
|||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
default: false
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
|
@ -113,7 +117,7 @@ search:
|
|||
inputs:
|
||||
$raw: "{{ range .Categories }}cats[]={{.}}&{{end}}"
|
||||
sns: ""
|
||||
sna: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||
sna: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||
spf: ""
|
||||
sr: ""
|
||||
sg: ""
|
||||
|
@ -121,12 +125,12 @@ search:
|
|||
sye: ""
|
||||
srs: ""
|
||||
sre: ""
|
||||
si: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{end}}"
|
||||
si: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}"
|
||||
ss: ""
|
||||
# 0 active 1 incldead 2 onlydead
|
||||
incldead: 0
|
||||
# 0 incl non-free 1 incl only-free
|
||||
only_free: 0
|
||||
# 0 active, 1 incldead, 2 onlydead
|
||||
incldead: 1
|
||||
# 0 incl non-free, 1 incl only-free
|
||||
only_free: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue