mirror of https://github.com/Jackett/Jackett
funkytorrents: add freeleech search. #9456
`free=1` seems to do something, returning only 53 results, but I have no idea what
This commit is contained in:
parent
26ea351dc5
commit
3c692a8dfb
|
@ -57,6 +57,18 @@ caps:
|
|||
music-search: [q, artist]
|
||||
book-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Search freeleech only
|
||||
default: false
|
||||
|
||||
login:
|
||||
path: takelogin.php
|
||||
method: post
|
||||
|
@ -72,9 +84,14 @@ search:
|
|||
paths:
|
||||
- path: browse.php
|
||||
inputs:
|
||||
# cat search doesn't work if our custom MP3 and Lossless cats are selected
|
||||
# $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
cat: 0
|
||||
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||
# 0 active, 1 incldead, 2 dead
|
||||
incldead: 1
|
||||
# 0 all, 1 not documented, 2 free
|
||||
free: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
|
||||
|
||||
rows:
|
||||
selector: table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out
|
||||
|
|
Loading…
Reference in New Issue