diff --git a/src/Jackett.Common/Definitions/zelkaorg.yml b/src/Jackett.Common/Definitions/zelkaorg.yml index 97ada240c..8c19294ba 100644 --- a/src/Jackett.Common/Definitions/zelkaorg.yml +++ b/src/Jackett.Common/Definitions/zelkaorg.yml @@ -67,10 +67,30 @@ settings: - name: password type: password label: Password + - name: freeleech + type: checkbox + label: Filter freeleech only + default: false - name: ip_filtering type: info label: "IP Filtering" default: "Zelka (Zamunda) allows only Bulgarian IP addressess. The connection attempt failed error means your IP was not accepted." + - name: sort + type: select + label: Sort requested from site + default: 6 + options: + 6: created + 9: seeders + 7: size + 2: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc login: path: takelogin.php @@ -89,10 +109,13 @@ search: inputs: $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" search: "{{ .Keywords }}" + # 0 active, 1 all, 2 dead incldead: 1 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" rows: - selector: .test > tbody > tr:has(a[href^="browse.php"]) + selector: ".test > tbody > tr:has(a[href^=\"browse.php\"]){{ if .Config.freeleech }}:has(a[style=\"color: #b9a100;\"]){{ else }}{{ end }}" fields: title: