mirror of https://github.com/Jackett/Jackett
pwtorrents: add freeleech filter #9456
update dlvf and ulvf add minimumratio
This commit is contained in:
parent
8528383d74
commit
fe9700e032
|
@ -42,6 +42,10 @@ settings:
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: seedbox
|
- name: seedbox
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: "Use SeedBox Download Link"
|
label: "Use SeedBox Download Link"
|
||||||
|
@ -88,7 +92,8 @@ search:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
incldead: "1"
|
# 0 active, 1 incldead, 2 onlydead, 3 freeleech
|
||||||
|
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
@ -115,7 +120,7 @@ search:
|
||||||
selector: a[href^="seeddownload.php?id="]
|
selector: a[href^="seeddownload.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
text: "{{ if .Config.seedbox }}{{ .Result.download2 }}{{else}}{{ .Result.download1 }}{{end}}"
|
text: "{{ if .Config.seedbox }}{{ .Result.download2 }}{{ else }}{{ .Result.download1 }}{{ end }}"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(4)
|
selector: td:nth-child(4)
|
||||||
filters:
|
filters:
|
||||||
|
@ -133,7 +138,15 @@ search:
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(10)
|
selector: td:nth-child(10)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 1
|
case:
|
||||||
|
img[src="pic/freeleech.png"]: 0
|
||||||
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
case:
|
||||||
|
img[src="gold.png"]: 2
|
||||||
|
img[src="silver.png"]: 1.5
|
||||||
|
img[src="bronze.png"]: 1.25
|
||||||
|
"*": 1
|
||||||
|
minimumratio:
|
||||||
|
text: 0.7
|
||||||
# engine n/a
|
# engine n/a
|
||||||
|
|
Loading…
Reference in New Issue