From 113f7914dd2fb4dc39b03fd467987d53d3fb8c77 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 12 Sep 2020 15:35:07 +1200 Subject: [PATCH] finvip: add freeleech filter #9456 also add minimumratio and minimumseedtime --- src/Jackett.Common/Definitions/finvip.yml | 79 +++++++++++++---------- 1 file changed, 44 insertions(+), 35 deletions(-) diff --git a/src/Jackett.Common/Definitions/finvip.yml b/src/Jackett.Common/Definitions/finvip.yml index 58bd8e95f..5eed583f5 100644 --- a/src/Jackett.Common/Definitions/finvip.yml +++ b/src/Jackett.Common/Definitions/finvip.yml @@ -10,35 +10,6 @@ certificates: links: - https://finvip.org/ -settings: - - name: username - type: text - label: Username - - name: password - type: password - label: Password - - name: info_results - type: info - label: "Search results" - default: "For best results, increase the torrents number in your profile to 100." - default: "
  1. Only the Xbtit style is supported.
  2. For best results, increase the torrents number in your profile to 100.
" - - name: sort - type: select - label: Sort requested from site - default: "3" - options: - "3": "created" - "5": "seeders" - "4": "size" - "2": "title" - - name: type - type: select - label: Order requested from site - default: "2" - options: - "2": "desc" - "1": "asc" - caps: categorymappings: - {id: 5, cat: TV/Anime, desc: "Anime"} @@ -79,6 +50,39 @@ caps: movie-search: [q, imdbid] music-search: [q] +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: info_results + type: info + label: "Search results" + default: "For best results, increase the torrents number in your profile to 100." + default: "
  1. Only the Xbtit style is supported.
  2. For best results, increase the torrents number in your profile to 100.
" + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: "3" + options: + "3": "created" + "5": "seeders" + "4": "size" + "2": "title" + - name: type + type: select + label: Order requested from site + default: "2" + options: + "2": "desc" + "1": "asc" + login: path: index.php?page=login method: post @@ -102,14 +106,14 @@ search: - path: index.php inputs: page: torrents - search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" + search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}" # 0 title 1 title&descr 2 descr - options: "{{ if .Query.IMDBID }}1{{else}}0{{end}}" - # 0 all 1 activeonly 2 deadonly + options: "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}" + # 0 all, 1 activeonly, 2 deadonly active: 0 - # 0 all 1 classic 2 50%free 3 100%free 4 50%+100&free - gold: 0 + # 0 all, 1 classic, 2 50%free, 3 100%free, 4 50%+100&free + gold: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}" order: "{{ .Config.sort }}" by: "{{ .Config.type }}" @@ -164,4 +168,9 @@ search: "*": 1 uploadvolumefactor: text: 1 -# xbtit + minimumratio: + text: 1.0 + minimumseedtime: + # 3 days (as seconds = 3 x 24 x 60 x 60) + text: 259200 +# xbtit 2.0.0