Skip to content

Commit

Permalink
scenepalace: add freeleech filter #9456
Browse files Browse the repository at this point in the history
add minimumratio and minimumseedtime
  • Loading branch information
garfield69 committed Sep 14, 2020
1 parent fce0dfb commit 932e8f1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Jackett.Common/Definitions/scenepalace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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)

0 comments on commit 932e8f1

Please sign in to comment.