From 290a51ff566f1d8c4e7a349da5891479b407c84c Mon Sep 17 00:00:00 2001 From: kaso17 Date: Wed, 25 Jan 2017 15:43:38 +0100 Subject: [PATCH] Add Isohunt tracker Based on https://github.com/zductiv/cardigann/commit/53666ebe737d62eef8fe65b6d3986aa059d18558 --- README.md | 1 + src/Jackett/Definitions/isohunt.yml | 56 +++++++++++++++++++++++++++++ src/Jackett/Jackett.csproj | 3 ++ 3 files changed, 60 insertions(+) create mode 100644 src/Jackett/Definitions/isohunt.yml diff --git a/README.md b/README.md index ac6a0c685..874aceb7b 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Immortalseed * Infinity-T * IPTorrents + * Isohunt * LimeTorrents * LinkoManija * M-Team - TP diff --git a/src/Jackett/Definitions/isohunt.yml b/src/Jackett/Definitions/isohunt.yml new file mode 100644 index 000000000..c3b3c2944 --- /dev/null +++ b/src/Jackett/Definitions/isohunt.yml @@ -0,0 +1,56 @@ +--- + site: isohunt + name: Isohunt + language: en-us + encoding: UTF-8 + links: + - https://isohunt.to/ + + caps: + categories: + "series+&+tv": TV + "movies": Movies + "other": Other/Misc + "music": Audio + "games": PC/Games + "software": PC/0day + "anime": TV/Anime + "adult": XXX + "books": Other + + modes: + search: [q] + tv-search: [q, season, ep] + + download: + selector: a.btn-download + + search: + path: "{{if .Query.Keywords}}torrents/?ihq={{ .Query.Keywords}}/{{else}}/latest.php{{end}}" + rows: + selector: "#serps > table > tbody > tr" + fields: + title: + selector: td.title-row > a[href^="/"] > span + details: + selector: td.title-row > a[href^="/"] + attribute: href + download: + selector: td.title-row > a[href^="/"] + attribute: href + size: + selector: td.size-row + seeders: + selector: td.sy, td.sn + date: + selector: td.date-row + filters: + - name: append + args: " ago" + category: + selector: td.category-row > span + attribute: title + downloadvolumefactor: + text: "0" + uploadvolumefactor: + text: "1" diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index cf5e9e819..670745827 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -573,6 +573,9 @@ PreserveNewest + + PreserveNewest + Designer