boxingtorrents: add freeleech filter #9456

and add 4k category
minimumratio and minimumseedtime
This commit is contained in:
Garfield69
2020-09-10 19:41:20 +12:00
parent c46d901209
commit 13d0ff3079

View File

@@ -10,6 +10,7 @@ links:
caps: caps:
categorymappings: categorymappings:
- {id: 17, cat: TV/Sport, desc: "4K"}
- {id: 15, cat: TV/Sport, desc: "3D"} - {id: 15, cat: TV/Sport, desc: "3D"}
- {id: 9, cat: TV/Sport, desc: "Amateur - Full"} - {id: 9, cat: TV/Sport, desc: "Amateur - Full"}
- {id: 16, cat: TV/Sport, desc: "Blu-ray"} - {id: 16, cat: TV/Sport, desc: "Blu-ray"}
@@ -38,6 +39,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
@@ -82,8 +87,10 @@ search:
- path: browse.php - path: browse.php
inputs: inputs:
$raw: "{{ if .Categories }}{{ range .Categories }}c{{.}}=1&{{end}}{{else}}cat=0{{end}}" $raw: "{{ if .Categories }}{{ range .Categories }}c{{.}}=1&{{end}}{{else}}cat=0{{end}}"
# 0 active 1 incldead 2 onlydead # 1 incldead, null active
incldead: 1 incldead: 1
# 1 freeleech only, null all
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
d: "{{ .Config.type }}" d: "{{ .Config.type }}"
@@ -130,4 +137,9 @@ search:
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
minimumratio:
text: 1.0
minimumseedtime:
# 3 day (as seconds = 3 x 24 x 60 x 60)
text: 259200
# engine n/a # engine n/a