scenepalace: add freeleech filter #9456

add minimumratio and minimumseedtime
This commit is contained in:
Garfield69 2020-09-15 05:46:28 +12:00
parent fce0dfb1cb
commit 932e8f190d
1 changed files with 10 additions and 1 deletions

View File

@ -40,6 +40,10 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
@ -83,7 +87,7 @@ search:
type: "{{ .Config.type }}"
rows:
selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="download.php?torrent="])
selector: "table[border=1][cellpadding=5] > tbody > tr:has(a[href^=\"download.php?torrent=\"]){{ if .Config.freeleech }}:has(img[src$=\"/free.jpg\"]){{ else }}{{ end }}"
fields:
title:
@ -136,4 +140,9 @@ search:
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200
# TBDEV,U232,and Btdev (customised)