torrentfactory: add vip config (#9759)

This commit is contained in:
garfield69
2020-10-07 08:07:03 +13:00
committed by GitHub
parent 7666bf1b7d
commit 937b2fbdfc

View File

@@ -80,6 +80,10 @@ settings:
- name: password
type: password
label: Password
- name: vip
type: checkbox
label: Show VIP torrent? (Enable if you're VIP)
default: false
- name: sort
type: select
label: Sort requested from site
@@ -123,7 +127,7 @@ search:
by: "{{ .Config.type }}"
rows:
selector: "#Mcol > div > div.block-content > div > div > div > table > tbody > tr:nth-child(3) > td > table tr:not(:first-child)"
selector: "#Mcol > div > div.block-content > div > div > div > table > tbody > tr:nth-child(3) > td > table tr:not(:first-child){{ if .Config.vip }}{{ else }}:not(:has(a[href*=\"category=107\"])){{ end }}"
fields:
category: