moviesite: add filter freeleech. #9456

This commit is contained in:
Garfield69 2023-03-30 05:14:26 +13:00
parent 41b3723445
commit 7a3453ef4a
1 changed files with 5 additions and 1 deletions

View File

@ -44,6 +44,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
@ -99,7 +103,7 @@ search:
args: ["(\\w+)", "+$1"] # prepend + to each word
rows:
selector: table tbody tr:has(a[href*="download.php?id="]:has(img[src="../pic/yes.png"]))
selector: "table tbody tr:has(a[href*=\"download.php?id=\"]:has(img[src=\"../pic/yes.png\"])){{ if .Config.freeleech }}:has(img[src$=\"freedownload.gif\"]){{ else }}{{ end }}"
fields:
category: