diff --git a/src/Jackett.Common/Definitions/funkytorrents.yml b/src/Jackett.Common/Definitions/funkytorrents.yml index 46e421902..c70a295f5 100644 --- a/src/Jackett.Common/Definitions/funkytorrents.yml +++ b/src/Jackett.Common/Definitions/funkytorrents.yml @@ -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