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
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -113,7 +117,7 @@ search:
|
||||||
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: ""
|
||||||
|
@ -121,12 +125,12 @@ search:
|
||||||
sye: ""
|
sye: ""
|
||||||
srs: ""
|
srs: ""
|
||||||
sre: ""
|
sre: ""
|
||||||
si: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{end}}"
|
si: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}"
|
||||||
ss: ""
|
ss: ""
|
||||||
# 0 active 1 incldead 2 onlydead
|
# 0 active, 1 incldead, 2 onlydead
|
||||||
incldead: 0
|
incldead: 1
|
||||||
# 0 incl non-free 1 incl only-free
|
# 0 incl non-free, 1 incl only-free
|
||||||
only_free: 0
|
only_free: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue