diff --git a/src/Jackett.Common/Definitions/sdkino.yml b/src/Jackett.Common/Definitions/sdkino.yml index 0460e474f..95cb63d2a 100644 --- a/src/Jackett.Common/Definitions/sdkino.yml +++ b/src/Jackett.Common/Definitions/sdkino.yml @@ -27,6 +27,10 @@ settings: - name: password type: password label: Password + - name: freeleech + type: checkbox + label: Search freeleech only + default: false - name: sort type: select label: Sort requested from site @@ -70,8 +74,8 @@ search: args: ["(?i)(\\bS0*\\d+E0*\\d+\\b)", ""] inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - # 0 active 1 incldead 2 onlydead 3 gold 4 noseeds 5 paid - incldead: 1 + # 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseeds, 5 paid + incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}" sort: "{{ .Config.sort }}" type: "{{ .Config.type }}" search: "{{ .Keywords }}" @@ -129,8 +133,10 @@ search: date: selector: span:has(i.fa-calendar-o) filters: + - name: append + args: " +03:00" # MSK - name: dateparse - args: "2006.1.2" + args: "2006.1.2 -07:00" files: selector: span:has(i.fa-files-o) size: @@ -142,7 +148,12 @@ search: leechers: selector: span:has(i.fa-download) downloadvolumefactor: - text: 0 + case: + "span:contains(\"Золотой\")": 0 + "span:contains(\"Серебряный\")": 0.5 + "*": 1 uploadvolumefactor: text: 1 + minimumratio: + text: 1.0 # TBDev