Skip to content

Commit

Permalink
peersfm: add freeleech filter #9456
Browse files Browse the repository at this point in the history
add minimumratio
  • Loading branch information
garfield69 committed Sep 14, 2020
1 parent 3174304 commit 03a6e71
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Jackett.Common/Definitions/peersfm.yml
Expand Up @@ -44,6 +44,10 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
Expand Down Expand Up @@ -80,8 +84,8 @@ search:
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0=active 1=incl dead 2=only dead 3=FREE
incldead: 1
# 0=active, 1=incl dead, 2=only dead, 3=FREE
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"

Expand Down Expand Up @@ -153,4 +157,6 @@ search:
"*": 1
uploadvolumefactor:
text: 1
minimumratio:
text: 0.5
# engine n/a

0 comments on commit 03a6e71

Please sign in to comment.