From 7291efebae971106d090c37738a188e7142771a3 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 25 Dec 2019 11:35:42 +1300 Subject: [PATCH] add finvip a Finnish Private site. resolves #6675 --- README.md | 1 + src/Jackett.Common/Definitions/finvip.yml | 161 ++++++++++++++++++++++ 2 files changed, 162 insertions(+) create mode 100644 src/Jackett.Common/Definitions/finvip.yml diff --git a/README.md b/README.md index c88fefbaf..2d4a37175 100644 --- a/README.md +++ b/README.md @@ -244,6 +244,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * FANO.IN * FileList (FL) * Femdomcult + * FinVip * FocusX * FreeTorrent * FullMixMusic diff --git a/src/Jackett.Common/Definitions/finvip.yml b/src/Jackett.Common/Definitions/finvip.yml new file mode 100644 index 000000000..9a394c8b6 --- /dev/null +++ b/src/Jackett.Common/Definitions/finvip.yml @@ -0,0 +1,161 @@ +--- + site: finvip + name: FinVip + description: "FinVip is a FINNISH Private Torrent Tracker for MOVIES / TV / GENERAL" + language: fi-fi + type: private + encoding: UTF-8 + 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." + - 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"} + - {id: 25, cat: TV/Documentary, desc: "Dokumentit (docs)"} + - {id: 6, cat: Books/Ebook, desc: "eBooks"} + - {id: 26, cat: TV, desc: "Kannet/Tekstit (subs)"} + - {id: 20, cat: TV/SD, desc: "Lasten DVD (kids)"} + - {id: 33, cat: TV/SD, desc: "Lasten XviD (kids)"} + - {id: 11, cat: Movies/DVD, desc: "Leffat DVD (movies)"} + - {id: 13, cat: Movies/SD, desc: "Leffat XviD (movies)"} + - {id: 21, cat: Movies/HD, desc: "Leffat HD (movies)"} + - {id: 32, cat: Movies/DVD, desc: "Custom DVD (movies)"} + - {id: 42, cat: Movies, desc: "FVC"} + - {id: 15, cat: Audio, desc: "Musiikki (music)"} + - {id: 12, cat: Audio/Video, desc: "Musavideot (clips)"} + - {id: 7, cat: PC/0day, desc: "Ohjelmat Windows (apps)"} + - {id: 8, cat: PC, desc: "Ohjelmat Linux (apps)"} + - {id: 9, cat: PC/Mac, desc: "Ohjelmat Mac (apps)"} + - {id: 17, cat: PC/Games, desc: "Pelit PC (games)"} + - {id: 18, cat: Console/PSP, desc: "Pelit PlayStation (games)"} + - {id: 19, cat: Console/Xbox, desc: "Pelit Xbox (games)"} + - {id: 35, cat: Console/Wii, desc: "Pelit Wii (games)"} + - {id: 22, cat: XXX, desc: "Pr0n DVD (xxx)"} + - {id: 23, cat: XXX, desc: "Pr0n XviD (xxx)"} + - {id: 36, cat: XXX, desc: "Pr0n Muut (xxx)"} + - {id: 47, cat: XXX, desc: "Pr0n HD (xxx)"} + - {id: 24, cat: PC/Phone-Other, desc: "Puhelimeen (phone)"} + - {id: 1, cat: TV/SD, desc: "Sarjat DVD (series)"} + - {id: 30, cat: TV, desc: "Sarjat (series)"} + - {id: 41, cat: TV/HD, desc: "Sarjat HD (series)"} + - {id: 43, cat: TV, desc: "Salkkarit (?)"} + - {id: 40, cat: TV/Sport, desc: "Urheilu (sport)"} + - {id: 31, cat: Other, desc: "Muut (other)"} + + modes: + search: [q, imdbid] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] + + login: + path: index.php?page=login + method: post + inputs: + uid: "{{ .Config.username }}" + pwd: "{{ .Config.password }}" + logout: no + error: + - selector: tr td span[style="color:#FF0000;"] + test: + path: index.php + selector: a[href="logout.php"] + + download: + selector: a[href^="download.php?id="] + + search: + paths: + # https://finvip.org/index.php?page=torrents&active=0&gold=0&category=5;25;6&order=3&by=2 + - path: index.php + inputs: + page: torrents + 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 + active: 0 + # 0 all 1 classic 2 50%free 3 100%free 4 50%+100&free + gold: 0 + order: "{{ .Config.sort }}" + by: "{{ .Config.type }}" + + rows: + selector: table.lista tr td table.lista tr:has(a[href^="index.php?page=torrent-details"]) + + fields: + category: + selector: td a[href^="index.php?page=torrents&category="] + attribute: href + filters: + - name: querystring + args: category + title: + selector: td a[href^="index.php?page=torrent-details"] + details: + selector: td a[href^="index.php?page=torrent-details"] + attribute: href + download: + selector: td a[href^="index.php?page=downloadcheck"] + attribute: href + imdb: + optional: true + selector: a[href*="www.imdb.com/title/tt"] + attribute: href + filters: + # javascript:popdetails('http://www.imdb.com/title/tt10209130'); + - name: replace + args: ["javascript:popdetails('", ""] + - name: replace + args: ["');", ""] + size: + selector: td:nth-last-child(1) + leechers: + selector: td:nth-last-child(2) + seeders: + selector: td:nth-last-child(3) + date: + # 23/12/2019 07:57 + selector: td:nth-last-child(4) + filters: + - name: dateparse + args: "02/01/2006 15:04" + description: + selector: td a[href^="index.php?page=torrent-details"] + remove: a + downloadvolumefactor: + case: + img[src="images/silver.gif"]: 0.5 + img[src="images/gold.gif"]: 0 + img[src="images/freeleech.gif"]: 0 + "*": 1 + uploadvolumefactor: + text: 1