From 46cb0272611dbe829e92e2cc780c0114e6669dfe Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 1 Dec 2019 18:20:58 +1300 Subject: [PATCH] add torrentdownload, a public tracker. resolves #6451 --- README.md | 1 + .../Definitions/torrentdownload.yml | 70 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 src/Jackett.Common/Definitions/torrentdownload.yml diff --git a/README.md b/README.md index bd286fc97..7d17b142d 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Torrent Downloads (TD) * Torrent9 * Torrent9Clone + * TorrentDownload * TorrentFunk * TorrentGalaxy (TGx) * TorrentParadise diff --git a/src/Jackett.Common/Definitions/torrentdownload.yml b/src/Jackett.Common/Definitions/torrentdownload.yml new file mode 100644 index 000000000..1b9f47712 --- /dev/null +++ b/src/Jackett.Common/Definitions/torrentdownload.yml @@ -0,0 +1,70 @@ +--- + site: torrentdownload + name: TorrentDownload + description: "TorrentDownload is a Public general torrent index" + language: en-us + type: public + encoding: UTF-8 + links: + - https://www.torrentdownload.info/ + + caps: + categories: + "TV shows": TV + "Movies": Movies + "Music": Audio + "Games": Console + "Applications": PC/0day + "Other": Other/Misc + "Anime": TV/Anime + "Audio Books": Audio/Audiobook + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: [] + + download: + selector: a[href^="magnet:?xt="] + + search: + paths: + - path: "{{if .Keywords}}searchd?q={{ .Keywords}}{{else}}latest{{end}}" + rows: + selector: table.table2 > tbody > tr:has(span.smallish) + fields: + title: + selector: div.tt-name > a[href^="/"] + details: + selector: div.tt-name > a[href^="/"] + attribute: href + size: + selector: td:nth-child(3) + seeders: + selector: td.tdseed + leechers: + selector: td.tdleech + date: + selector: td:nth-child(2) + filters: + - name: replace + args: ["right ", ""] + - name: replace + args: ["Last Month", "1 month ago"] + - name: replace + args: ["+", " ago"] + download: + selector: div.tt-name > a[href^="/"] + attribute: href + category: + selector: div.tt-name > span.smallish + optional: true + filters: + - name: replace + args: ["ยป ", ""] + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1