From 8a48874b4203e46717dbe517dbaf9fe36d6cd8b4 Mon Sep 17 00:00:00 2001 From: LuisMi Date: Sat, 13 Oct 2018 23:17:12 +0200 Subject: [PATCH] Add definition for EliteTorrent.biz (#3990) resolves #1293 --- README.md | 1 + .../Definitions/elitetorrent-biz.yml | 75 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 src/Jackett.Common/Definitions/elitetorrent-biz.yml diff --git a/README.md b/README.md index ac9c1ed2a..144dc66a9 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * BTDB * cpasbien * ETTV + * EliteTorrent.biz * ExtraTorrent.ag * ExtraTorrentClone * EZTV diff --git a/src/Jackett.Common/Definitions/elitetorrent-biz.yml b/src/Jackett.Common/Definitions/elitetorrent-biz.yml new file mode 100644 index 000000000..c3696e6db --- /dev/null +++ b/src/Jackett.Common/Definitions/elitetorrent-biz.yml @@ -0,0 +1,75 @@ +--- + site: elitetorrent-biz + name: EliteTorrent.biz + description: "EliteTorrent.biz is a Public torrent site for TV, movies and documentaries" + language: es-es + type: public + encoding: UTF-8 + links: + - https://www.elitetorrent.biz/ + + caps: + categories: + "series": TV + "peliculas": Movies + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: [] + + download: + selector: a[href^="magnet:?"] + attribute: href + + search: + path: index.php + keywordsfilters: + # most ES/ITA TV torrents are in XXxYY format, so we search without S/E prefixes and filter later + - name: re_replace + args: ["S0?(\\d{1,2})", " $1 "] + - name: re_replace + args: ["E(\\d{2,3})", " $1 "] + inputs: + s: "{{ .Keywords }}" + $raw: "&x=0&y=0" + rows: + selector: "#principal .miniboxs-ficha li" + fields: + title: + selector: .meta a + # normalize to SXXEYY format + filters: + - name: re_replace + args: ["(\\d{2})×(\\d{2})", "S$1E$2"] + - name: re_replace + args: ["(\\d{1})×(\\d{2})", "S0$1E$2"] + details: + selector: .meta a + attribute: href + download: + selector: .meta a + attribute: href + category: + selector: .meta a + attribute: href + filters: + - name: split + args: ["/", 3] + size: + selector: .voto1 + filters: + - name: replace + args: ["s", ""] + date: + text: now + seeders: + text: "1" + leechers: + text: "1" + downloadvolumefactor: + text: "0" + uploadvolumefactor: + text: "1"