mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
irishtv: filter freeleech
This commit is contained in:
@@ -41,7 +41,7 @@ settings:
|
|||||||
label: Password
|
label: Password
|
||||||
- name: freeleech
|
- name: freeleech
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Search freeleech only
|
label: Filter freeleech only
|
||||||
default: false
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
@@ -85,7 +85,8 @@ search:
|
|||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
category: "{{ range .Categories }}{{.}};{{end}}"
|
category: "{{ range .Categories }}{{.}};{{end}}"
|
||||||
# 0 filename, 1 file&descr, 2 descr, 3 uploaders, 18 genre, 4 imdb, 5 gold, 6 silver, 7 bronze, 8-17 upload multiplier 1x-10x
|
# 0 filename, 1 file&descr, 2 descr, 3 uploaders, 18 genre, 4 imdb, 5 gold, 6 silver, 7 bronze, 8-17 upload multiplier 1x-10x
|
||||||
options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}"
|
# note the options are exclusive, so searching for gold means the search keywords are ignored
|
||||||
|
options: 0
|
||||||
# 0 all, 1 active only, 2 dead only
|
# 0 all, 1 active only, 2 dead only
|
||||||
active: 0
|
active: 0
|
||||||
order: "{{ .Config.sort }}"
|
order: "{{ .Config.sort }}"
|
||||||
@@ -97,7 +98,7 @@ search:
|
|||||||
args: ["\\.", " "]
|
args: ["\\.", " "]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "table.lista > tbody > tr:has(a[href^=\"download.php?id=\"]):not(:has(a[href^=\"index.php?page=userdetails\"]))"
|
selector: "table.lista > tbody > tr:has(a[href^=\"download.php?id=\"]):not(:has(a[href^=\"index.php?page=userdetails\"])){{ if .Config.freeleech }}:has(img[src$=\"gold.gif\"]){{ else }}{{ end }}, able.lista > tbody > tr:has(a[href^=\"download.php?id=\"]):not(:has(a[href^=\"index.php?page=userdetails\"])){{ if .Config.freeleech }}:has(img[src$=\"freeleech.gif\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
|
Reference in New Issue
Block a user