mirror of https://github.com/Jackett/Jackett
estone: add freeleech filter #9456
add minimumratio and minimumseedtime
This commit is contained in:
parent
f4e99a18e6
commit
420b9672cd
|
@ -46,6 +46,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
|
||||||
|
@ -87,14 +91,14 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}kat[]={{.}}&{{end}}{{ .Config.sort }}={{ .Config.type }}"
|
$raw: "{{ range .Categories }}kat[]={{.}}&{{end}}{{ .Config.sort }}={{ .Config.type }}"
|
||||||
kereses_nev: "{{ .Keywords }}"
|
kereses_nev: "{{ .Keywords }}"
|
||||||
# 0 name 1 performer 2 director
|
# 0 name, 1 performer, 2 director
|
||||||
miben: 0
|
miben: 0
|
||||||
# genre
|
# genre
|
||||||
cimke: ""
|
cimke: ""
|
||||||
# does not support imdbid search and does not return imdb link in results
|
# does not support imdbid search and does not return imdb link in results
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: body > div[id^="torrent_"]
|
selector: "body > div[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src=\"pic/free.png\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
|
@ -151,4 +155,9 @@ search:
|
||||||
description:
|
description:
|
||||||
selector: div:nth-child(2)
|
selector: div:nth-child(2)
|
||||||
remove: a
|
remove: a
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
|
minimumseedtime:
|
||||||
|
# 1 day (as seconds = 24 x 60 x 60)
|
||||||
|
text: 86400
|
||||||
# engine n/a
|
# engine n/a
|
||||||
|
|
Loading…
Reference in New Issue