assorted 3xT: fix global onlyup

can not filter by freeleech,  its either global or nothing
This commit is contained in:
Garfield69
2024-09-16 08:46:54 +12:00
parent 967abbb63a
commit d9d1aaf4da
4 changed files with 4 additions and 17 deletions

View File

@@ -78,10 +78,6 @@ 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
@@ -135,7 +131,7 @@ search:
args: ["^(.+)$", "%$1%"]
rows:
selector: "div.selection_wrap{{ if .Config.freeleech }}:root:has(div.onlyup){{ else }}{{ end }}"
selector: div.selection_wrap
fields:
category_p1:

View File

@@ -163,7 +163,7 @@ search:
sort: "{{ .Config.type }}"
rows:
selector: "div.selection_wrap"
selector: div.selection_wrap
fields:
category_p1:

View File

@@ -90,10 +90,6 @@ settings:
- name: pin
type: text
label: Pin
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
@@ -142,8 +138,7 @@ search:
sort: "{{ .Config.type }}"
rows:
selector: "div.selection_wrap:has(a[href^=\"download_ssl.php?torrent=\"]){{ if .Config.freeleech }}:has(:root:has(div.onlyup)){{ else }}{{ end }}"
selector: div.selection_wrap
fields:
category_p1:
selector: div.kat_cat_pic_name

View File

@@ -90,10 +90,6 @@ 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
@@ -141,7 +137,7 @@ search:
sort: "{{ .Config.type }}"
rows:
selector: "div.selection_wrap{{ if .Config.freeleech }}:has(:root:has(div.onlyup)){{ else }}{{ end }}"
selector: div.selection_wrap
filters:
- name: andmatch