From 13583ae1850fa2eccdf6006034d9859089d5bf05 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 20 Jul 2020 10:13:23 +1200 Subject: [PATCH] add selezen a Public Russian movies site. resolves #9166 --- README.md | 1 + src/Jackett.Common/Definitions/selezen.yml | 148 +++++++++++++++++++++ 2 files changed, 149 insertions(+) create mode 100644 src/Jackett.Common/Definitions/selezen.yml diff --git a/README.md b/README.md index fb7854933..2d83d2256 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Rus-media * RuTor * RuTracker.RU + * seleZen * Sexy-Pics * shokweb * ShowRSS diff --git a/src/Jackett.Common/Definitions/selezen.yml b/src/Jackett.Common/Definitions/selezen.yml new file mode 100644 index 000000000..62f673c7d --- /dev/null +++ b/src/Jackett.Common/Definitions/selezen.yml @@ -0,0 +1,148 @@ +--- +id: selezen +name: seleZen +description: "seleZen is a RUSSIAN Public Torrent Tracker for MOVIES" +language: ru-ru +type: public +encoding: UTF-8 +links: + - https://www.selezen.net/ + +caps: + categorymappings: + - {id: 0, cat: Movies, desc: "Movies"} + - {id: 45, cat: Movies/HD, desc: "WEBRip 720p"} + - {id: 46, cat: Movies/HD, desc: "WEBRip 1080p"} + - {id: 47, cat: Movies/UHD, desc: "WEBRip 2160p"} + - {id: 48, cat: Movies/HD, desc: "WEB-DL 720p"} + - {id: 49, cat: Movies/HD, desc: "WEB-DL 1080p"} + - {id: 50, cat: Movies/UHD, desc: "SDR WEB-DL 2160p"} + - {id: 51, cat: Movies/UHD, desc: "HDR WEB-DL 2160p"} + - {id: 52, cat: Movies/HD, desc: "BDRip 720p"} + - {id: 53, cat: Movies/HD, desc: "BDRip 1080p"} + - {id: 54, cat: Movies/UHD, desc: "SDR BDRip 2160p"} + - {id: 55, cat: Movies/UHD, desc: "HDR BDRip 2160p"} + - {id: 56, cat: Movies/HD, desc: "UHD BDRip 720p"} + - {id: 57, cat: Movies/HD, desc: "UHD BDRip 1080p"} + - {id: 58, cat: Movies/HD, desc: "BDRemux 1080p"} + - {id: 59, cat: Movies/UHD, desc: "SDR BDRemux 2160p"} + - {id: 60, cat: Movies/UHD, desc: "HDR BDRemux 2160p"} + - {id: 61, cat: Movies/UHD, desc: "DV BDRemux 2160p"} + - {id: 62, cat: Movies/HD, desc: "Blu-Ray 1080p"} + - {id: 63, cat: Movies/UHD, desc: "Blu-Ray 2160p"} + - {id: 64, cat: Movies/3D, desc: "3D BDRemux 1080p"} + - {id: 65, cat: Movies/3D, desc: "3D Blu-Ray 1080p"} + + modes: + search: [q, imdbid] + movie-search: [q, imdbid] + +settings: + - name: sort + type: select + label: Sort requested from site + default: "date" + options: + "date": "created" + "title": "title" + - name: type + type: select + label: Order requested from site + default: "desc" + options: + "desc": "desc" + "asc": "asc" + + +download: + selector: a[href^="magnet:?xt="] + attribute: href + +search: + # do=search&subaction=search&story=greyhound&titleonly=0&sortby=date&resorder=desc&showposts=0&catlist[]=45&catlist[]=46&catlist[]=47 + paths: + - path: index.php + inputs: + $raw: "{{ range .Categories }}catlist[]={{.}}&{{end}}" + do: search + subaction: search + showposts: 1 + # 0 in article 1 in comments 2 in static pages 3 in article titles + titleonly: "{{ if .Query.IMDBID }}0{{else}}3{{end}}" + story: "{{ if or .Query.IMDBID .Keywords }}{{ or .Query.IMDBID .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" + sortby: "{{ .Config.sort }}" + resorder: "{{ .Config.type }}" + + rows: + selector: div.card-default + + fields: + category: + text: 0 + category: + selector: div.noimg > a + optional: true + case: + a[href$="/webrip720p/"]: 45 + a[href$="/webrip1080p/"]: 46 + a[href$="/webrip2160p/"]: 47 + a[href$="/web-dl720p/"]: 48 + a[href$="/web-dl1080p/"]: 49 + a[href$="/sdrweb-dl2160p/"]: 50 + a[href$="/hdrweb-dl2160p/"]: 51 + a[href$="/bdrip720p/"]: 52 + a[href$="/bdrip1080p/"]: 53 + a[href$="/sdrbdrip2160p/"]: 54 + a[href$="/hdrbdrip2160p/"]: 55 + a[href$="/uhdbdrip-720p/"]: 56 + a[href$="/uhdbdrip1080p/"]: 57 + a[href$="/bdremux1080p/"]: 58 + a[href$="/sdrbdremux2160p/"]: 59 + a[href$="/hdrbdremux2160p/"]: 60 + a[href$="/dvbdremux2160p/"]: 61 + a[href$="/blu-ray1080p/"]: 62 + a[href$="/blu-ray2160p/"]: 63 + a[href$="/3dbdremux1080p/"]: 64 + a[href$="/3dblu-ray1080p/"]: 65 + title: + selector: div.short-title > a + details: + selector: div.short-title > a + attribute: href + download: + selector: div.short-title > a + attribute: href + banner: + selector: img.poster + attribute: src + optional: true + imdb: + selector: a[href*="www.imdb.com/title/tt"] + attribute: href + optional: true + description: + selector: span.noimg + date: + selector: a:has(span.glyphicon-time) + filters: + # 30.10.2019 14:49 + - name: regexp + args: "(\\d{1,2}\\.\\d{2}\\.\\d{4} \\d{1,2}\\:\\d{2})" + - name: dateparse + args: "2.01.2006 15:04" + seeders: + selector: i.fa-arrow-up ~ span + leechers: + selector: i.fa-arrow-down ~ span + grabs: + selector: i.fa-download ~ span + size: + selector: i.fa-file-video-o ~ b + filters: + - name: replace + args: [",", "."] + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a