From 4a232b1b25e4b79c7aaa57cc8bf4252c2b2629ec Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 30 Mar 2020 15:14:59 +1300 Subject: [PATCH] add pc-torrent a Russian games site. resolves #7933 --- README.md | 1 + src/Jackett.Common/Definitions/pctorrent.yml | 58 ++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 src/Jackett.Common/Definitions/pctorrent.yml diff --git a/README.md b/README.md index 83c6ba060..cb2325456 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * OneJAV * OxTorrent * ParnuXi + * PC-torrent * PiratBit * Pirateiro * PornLeech diff --git a/src/Jackett.Common/Definitions/pctorrent.yml b/src/Jackett.Common/Definitions/pctorrent.yml new file mode 100644 index 000000000..3f90cc30d --- /dev/null +++ b/src/Jackett.Common/Definitions/pctorrent.yml @@ -0,0 +1,58 @@ +--- + site: pctorrent + name: PC-torrent + description: "PC-torrent is a RUSSIAN Public Torrent Tracker for Games" + language: ru-ru + type: public + encoding: windows-1251 + links: + - https://pc-torrent.org/ + + caps: + categorymappings: + - {id: 1, cat: PC/Games, desc: "Games"} + + modes: + search: [q] + + settings: [] + + download: + selector: a[href*="/engine/download.php?id="] + attribute: href + + search: + paths: + - path: "{{ if .Keywords }}?do=search&subaction=search&search_start=0&full_search=1&result_from=1&story={{ .Keywords }}{{else}}{{end}}" + + rows: + selector: div.dshort + + fields: + category: + text: 1 + title: + selector: div.d3-title + details: + selector: a + attribute: href + download: + selector: a + attribute: href + banner: + selector: img + attribute: src + optional: true + date: + text: now + size: + selector: div.d3-raz + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# DataLife