From 16ed83a94dbce7877c43b17801ba0abe6fa65e8f Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 6 Sep 2020 21:36:48 +1200 Subject: [PATCH] add trupornolabs a Russian 3x site. resolves #9390 --- README.md | 1 + .../Definitions/trupornolabs.yml | 84 +++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 src/Jackett.Common/Definitions/trupornolabs.yml diff --git a/README.md b/README.md index 0f917b824..8a1f2ba7c 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * TorrentView (토렌트뷰) * Torrentz2 * Torrentz2k + * truPornolabs * Underverse * UnionDHT * XFSUB diff --git a/src/Jackett.Common/Definitions/trupornolabs.yml b/src/Jackett.Common/Definitions/trupornolabs.yml new file mode 100644 index 000000000..c45a52eb1 --- /dev/null +++ b/src/Jackett.Common/Definitions/trupornolabs.yml @@ -0,0 +1,84 @@ +--- +id: trupornolabs +name: truPornolabs +description: "truPornolabs is a RUSSIAN Public tracker for 3X" +language: ru-ru +type: public +encoding: UTF-8 +links: + - http://trupornolabs.org/ # https not supported + +caps: + categories: + XXX: XXX + + modes: + search: [q] + tv-search: [q] + movie-search: [q] + +settings: [] + +search: + paths: + # http://trupornolabs.org/search/vika + # http://trupornolabs.org/browse/0/0/0/0 + - path: "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}browse/0/0/0/0{{ end }}" + + rows: + selector: tr.gai + + fields: + category: + text: XXX + title: + selector: a[href^="/torrent/"] + details: + selector: a[href^="/torrent/"] + attribute: href + download: + selector: a.downgif + attribute: href + magnet: + selector: a[href^="magnet:?xt="] + attribute: href + date: + selector: td:first-of-type + filters: + - name: replace + args: ["Янв", "Jan"] + - name: replace + args: ["Фев", "Feb"] + - name: replace + args: ["Мар", "Mar"] + - name: replace + args: ["Апр", "Apr"] + - name: replace + args: ["Май", "May"] + - name: replace + args: ["Июн", "Jun"] + - name: replace + args: ["Июл", "Jul"] + - name: replace + args: ["Авг", "Aug"] + - name: replace + args: ["Сен", "Sep"] + - name: replace + args: ["Окт", "Oct"] + - name: replace + args: ["Ноя", "Nov"] + - name: replace + args: ["Дек", "Dec"] + - name: dateparse + args: "02 Jan 06" + size: + selector: td:nth-of-type(3) + seeders: + selector: span.green + leechers: + selector: span.red + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a