From 86b287098699b02c3843b80e809a56a9ddd8a226 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 14 Sep 2020 15:56:34 +1200 Subject: [PATCH] pleasuredome: add freeleech filter #9456 add minimumratio --- src/Jackett.Common/Definitions/pleasuredome.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/pleasuredome.yml b/src/Jackett.Common/Definitions/pleasuredome.yml index b66da0883..a47e2cf49 100644 --- a/src/Jackett.Common/Definitions/pleasuredome.yml +++ b/src/Jackett.Common/Definitions/pleasuredome.yml @@ -76,6 +76,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 @@ -112,8 +116,8 @@ search: inputs: search: "{{ .Keywords }}" category: 0 - # 0 all 1 activeonly 2 deadonly 3 freeonly 4 regularonly 5 disabled 6 ulbonus - active: 0 + # 0 all 1, activeonly, 2 deadonly, 3 freeonly, 4 regularonly, 5 disabled, 6 ulbonus + active: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}" sort: "{{ .Config.sort }}" order: "{{ .Config.type }}" @@ -165,4 +169,6 @@ search: case: img[src="images/2x.gif"]: 2 "*": 1 + minimumratio: + text: 0.5 # BTI Tracker (customised)