mirror of https://github.com/Jackett/Jackett
linkomanija: add freeleech only setting (#14119)
This commit is contained in:
parent
a51fab1fc9
commit
381212f783
|
@ -53,11 +53,13 @@ settings:
|
|||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
default: false
|
||||
- name: searchindesc
|
||||
type: checkbox
|
||||
label: Search in torrent description (get more results)
|
||||
|
@ -78,7 +80,7 @@ search:
|
|||
paths:
|
||||
- path: browse.php
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}{{ if .Config.freeleech }}freeleech=1&{{ else }}{{ end }}"
|
||||
search: "{{ .Keywords }}"
|
||||
incldead: 1
|
||||
searchindesc: "{{ .Config.searchindesc }}"
|
||||
|
|
Loading…
Reference in New Issue