From 2b075245511948e6c70fe1c11fc74e045cea9406 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 9 Sep 2020 17:53:17 +1200 Subject: [PATCH] 3evils add freeleech filter #9456 --- src/Jackett.Common/Definitions/3evils.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/3evils.yml b/src/Jackett.Common/Definitions/3evils.yml index a675f8512..f3d085a22 100644 --- a/src/Jackett.Common/Definitions/3evils.yml +++ b/src/Jackett.Common/Definitions/3evils.yml @@ -39,6 +39,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 @@ -77,10 +81,11 @@ search: inputs: $raw: "{{range .Categories}}c{{.}}=1&{{end}}" search: "{{.Keywords}}" - # title descr genre all + # title, descr, genre, all searchin: title - # 0 active 1 incldead 2 onlydead + # 0 active, 1 incldead, 2 onlydead incldead: 1 + only_free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" sort: "{{ .Config.sort }}" type: "{{ .Config.type }}"