mirror of https://github.com/Jackett/Jackett
gigatorrents: add freeleech search. #9456
This commit is contained in:
parent
a8083062ad
commit
a0ea02e4f6
|
@ -58,6 +58,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
|
||||||
|
@ -97,7 +101,8 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
incldead: 1
|
# 0 active, 1 incldead, 2 onlydead, 5 freeleech, 6 2x upload, 7 highlighted
|
||||||
|
incldead: "{{ if .Config.freeleech }}5{{ else }}1{{ end }}"
|
||||||
blah: 0
|
blah: 0
|
||||||
order: "{{ .Config.sort }}"
|
order: "{{ .Config.sort }}"
|
||||||
by: "{{ .Config.type }}"
|
by: "{{ .Config.type }}"
|
||||||
|
|
Loading…
Reference in New Issue