mirror of
https://github.com/Jackett/Jackett
synced 2025-03-06 19:58:38 +00:00
linkomanija: add freeleech only setting (#14119)
This commit is contained in:
parent
a51fab1fc9
commit
381212f783
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue