crazyhd: add freeleech filter #9456

add minimumseedtime
This commit is contained in:
Garfield69 2020-09-11 13:36:37 +12:00
parent f0bd82fa39
commit dd383508be
1 changed files with 11 additions and 5 deletions

View File

@ -93,7 +93,10 @@ settings:
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
@ -135,11 +138,11 @@ search:
pages: 1
order: "{{ .Config.sort }}"
by: "{{ .Config.type }}"
# 0=mixed 1=no free 2=50%free 3=100%free 4=50%&100%free
gold: 0
# 0=filename 1=file&descr 2=descr 3=uploader
# 0=mixed, 1=no free, 2=50%free, 3=100%free, 4=50%&100%free
gold: "{{ if .Config.freeleech }}4{{ else }}0{{ end }}"
# 0=filename, 1=file&descr, 2=descr, 3=uploader
options: 0
# 0=all 1=onlyactive 2=onlydead
# 0=all, 1=onlyactive, 2=onlydead
active: 0
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}"
search: "{{ .Keywords }}"
@ -197,4 +200,7 @@ search:
"*": 1
uploadvolumefactor:
text: 1
minimumseedtime:
# 7 day (as seconds = 7 x 24 x 60 x 60)
text: 604800
# engine n/a