Skip to content

Commit

Permalink
0daykiev 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 6f503af commit f0174ea
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/Jackett.Common/Definitions/0daykiev.yml
Expand Up @@ -51,6 +51,10 @@ settings:
type: checkbox
label: Strip Russian Letters
default: true
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
Expand Down Expand Up @@ -97,9 +101,9 @@ search:
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 active 1 incldead 2 onlydead 3 gold 4 noseed 5 silver
incldead: 1
# 0 title 1 title and descr
# 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseed, 5 silver
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
# 0 title, 1 title and descr
where: 0
sort: "{{ .Config.sort}}"
type: "{{ .Config.type}}"
Expand Down

0 comments on commit f0174ea

Please sign in to comment.