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
1 changed files with 13 additions and 1 deletions

View File

@ -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