mirror of https://github.com/Jackett/Jackett
torrentland: add freeleech filter #9456
add minimumratio and minimumseedtime
This commit is contained in:
parent
b757e01641
commit
8741a7cacd
|
@ -98,6 +98,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
|
||||
|
@ -139,17 +143,18 @@ search:
|
|||
inputs:
|
||||
page: torrents
|
||||
$raw: "category={{ range .Categories }}{{.}};{{end}}"
|
||||
# 0 filename 1 file&dsc 2 descr 5 gold 6 silver 7 bronze
|
||||
options: "{{ if .Query.IMDBID }}2{{else}}0{{end}}"
|
||||
# 0 all 1 active 2 dead
|
||||
# 0 filename, 1 file&descr, 2 descr, 5 gold, 6 silver, 7 bronze
|
||||
# note: if option=5 then you cant also filter for titles or imdb.
|
||||
options: "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}"
|
||||
# 0 all, 1 active, 2 dead
|
||||
active: 0
|
||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||
order: "{{ .Config.sort }}"
|
||||
by: "{{ .Config.type }}"
|
||||
# does not return imdb link in results
|
||||
|
||||
rows:
|
||||
selector: "#Mcol table.table-inverse ~ table.table-inverse > tbody > tr:has(a[href^=\"index.php?page=torrent-details\"])"
|
||||
selector: "#Mcol table.table-inverse ~ table.table-inverse > tbody > tr{{ if .Config.freeleech }}[style=\"background: #f9e5a5\"]{{ else }}{{ end }}:has(a[href^=\"index.php?page=torrent-details\"])"
|
||||
|
||||
fields:
|
||||
category:
|
||||
|
@ -240,4 +245,9 @@ search:
|
|||
img[src$="6x.gif"]: 6
|
||||
img[src$="7x.gif"]: 7
|
||||
"*": 1
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
minimumseedtime:
|
||||
# 4 days (as seconds = 4 x 24 x 60 x 60)
|
||||
text: 345600
|
||||
# xbtit customised
|
||||
|
|
Loading…
Reference in New Issue