mirror of https://github.com/Jackett/Jackett
bittorrentfiles: add freeleech filter #9456
and add minimumratio and minimumseedtime
This commit is contained in:
parent
d9d0f3c758
commit
033878cb30
|
@ -108,6 +108,10 @@ settings:
|
||||||
- name: pass
|
- name: pass
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -142,10 +146,10 @@ search:
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# 0=title 1=descr 2=nfo 3=all
|
# 0=title, 1=descr, 2=nfo, 3=all, 4=imdb
|
||||||
search_where: "{{ if .Query.IMDBID }}3{{ else }}0{{ end }}"
|
search_where: "{{ if .Query.IMDBID }}3{{ else }}0{{ end }}"
|
||||||
# 0=active 1=all 2=dead 4=upload 5=doubleup 6=halfdown 7=highlight =request
|
# 0=active, 1=all, 2=onlydead, 4=only upload, 5=doubleup, 6=halfdown, 7=highlight, 8=request
|
||||||
status: 1
|
status: "{{ if .Config.freeleech }}4{{ else }}1{{ end }}"
|
||||||
orderby: "{{ .Config.sort }}"
|
orderby: "{{ .Config.sort }}"
|
||||||
sort: "{{ .Config.type }}"
|
sort: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
@ -227,4 +231,9 @@ search:
|
||||||
case:
|
case:
|
||||||
img[alt="2xU"]: 2
|
img[alt="2xU"]: 2
|
||||||
"*": 1
|
"*": 1
|
||||||
|
minimumratio:
|
||||||
|
text: 0.8
|
||||||
|
minimumseedtime:
|
||||||
|
# 60 hours (as seconds = 60 x 60 x 60)
|
||||||
|
text: 216000
|
||||||
# engine n/a
|
# engine n/a
|
||||||
|
|
Loading…
Reference in New Issue