Skip to content

Commit

Permalink
witchhunter: add freeleech filter #9456
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Sep 16, 2020
1 parent 98f4496 commit 757c6fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Jackett.Common/Definitions/witchhunter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,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 @@ -101,7 +105,7 @@ search:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 active, 1 both, 2 onlydead, 3 onlyfree, 4 x2 torrents, 6 mytorrents
incldead: 1
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
# does not support imdbid searches
Expand Down

0 comments on commit 757c6fc

Please sign in to comment.