From 13d0ff3079a27fdfec940127ad7690c4866f4f4c Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 10 Sep 2020 19:41:20 +1200 Subject: [PATCH] boxingtorrents: add freeleech filter #9456 and add 4k category minimumratio and minimumseedtime --- src/Jackett.Common/Definitions/boxingtorrents.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/boxingtorrents.yml b/src/Jackett.Common/Definitions/boxingtorrents.yml index 2494e7f42..8fdb4aa39 100644 --- a/src/Jackett.Common/Definitions/boxingtorrents.yml +++ b/src/Jackett.Common/Definitions/boxingtorrents.yml @@ -10,6 +10,7 @@ links: caps: categorymappings: + - {id: 17, cat: TV/Sport, desc: "4K"} - {id: 15, cat: TV/Sport, desc: "3D"} - {id: 9, cat: TV/Sport, desc: "Amateur - Full"} - {id: 16, cat: TV/Sport, desc: "Blu-ray"} @@ -38,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 @@ -82,8 +87,10 @@ search: - path: browse.php inputs: $raw: "{{ if .Categories }}{{ range .Categories }}c{{.}}=1&{{end}}{{else}}cat=0{{end}}" - # 0 active 1 incldead 2 onlydead + # 1 incldead, null active incldead: 1 + # 1 freeleech only, null all + free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" search: "{{ .Keywords }}" sort: "{{ .Config.sort }}" d: "{{ .Config.type }}" @@ -130,4 +137,9 @@ search: "*": 1 uploadvolumefactor: text: 1 + minimumratio: + text: 1.0 + minimumseedtime: + # 3 day (as seconds = 3 x 24 x 60 x 60) + text: 259200 # engine n/a