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
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Filter freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -139,9 +143,10 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
page: torrents
|
page: torrents
|
||||||
$raw: "category={{ range .Categories }}{{.}};{{end}}"
|
$raw: "category={{ range .Categories }}{{.}};{{end}}"
|
||||||
# 0 filename 1 file&dsc 2 descr 5 gold 6 silver 7 bronze
|
# 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 }}"
|
options: "{{ if .Query.IMDBID }}2{{ else }}0{{ end }}"
|
||||||
# 0 all 1 active 2 dead
|
# 0 all, 1 active, 2 dead
|
||||||
active: 0
|
active: 0
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
order: "{{ .Config.sort }}"
|
order: "{{ .Config.sort }}"
|
||||||
|
@ -149,7 +154,7 @@ search:
|
||||||
# does not return imdb link in results
|
# does not return imdb link in results
|
||||||
|
|
||||||
rows:
|
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:
|
fields:
|
||||||
category:
|
category:
|
||||||
|
@ -240,4 +245,9 @@ search:
|
||||||
img[src$="6x.gif"]: 6
|
img[src$="6x.gif"]: 6
|
||||||
img[src$="7x.gif"]: 7
|
img[src$="7x.gif"]: 7
|
||||||
"*": 1
|
"*": 1
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
|
minimumseedtime:
|
||||||
|
# 4 days (as seconds = 4 x 24 x 60 x 60)
|
||||||
|
text: 345600
|
||||||
# xbtit customised
|
# xbtit customised
|
||||||
|
|
Loading…
Reference in New Issue