Skip to content

Commit

Permalink
2fast4you add freeleech filter #9456
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Sep 9, 2020
1 parent f0174ea commit cfa1296
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Jackett.Common/Definitions/2fast4you.yml
Expand Up @@ -90,6 +90,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 @@ -127,11 +131,11 @@ search:
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 active 1 incldead 2 onlydead
# 0 active, 1 incldead, 2 onlydead
incldead: 1
# 0 all 1 notfree 2 onlyfree
freeleech: 0
# 0 any 1 French 2 English 3 Multi 4-8 32-41
# 0 all, 1 notfree, 2 onlyfree
freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 any, 1 French, 2 English, 3 Multi, 4-8 32-41
lang: 0
sort: "{{ .Config.sort}}"
order: "{{ .Config.order}}"
Expand Down

0 comments on commit cfa1296

Please sign in to comment.