From 4ad373877871ba06d8b77049694ab6cd4c1c2f8d Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 6 Oct 2019 16:59:24 +1300 Subject: [PATCH] add hdzone a private Chinese site. resolves #6078 --- README.md | 1 + src/Jackett.Common/Definitions/hdzone.yml | 162 ++++++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 src/Jackett.Common/Definitions/hdzone.yml diff --git a/README.md b/README.md index cde86ab54..2ff65c5ee 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * HDSky * HDTorrents.it * HDTurk + * HDZone * Hebits * Hon3y HD * HQSource (HQS) diff --git a/src/Jackett.Common/Definitions/hdzone.yml b/src/Jackett.Common/Definitions/hdzone.yml new file mode 100644 index 000000000..64a184f85 --- /dev/null +++ b/src/Jackett.Common/Definitions/hdzone.yml @@ -0,0 +1,162 @@ +--- + site: hdzone + name: HDZone + description: "HDZone is a CHINESE Private Torrent Tracker for HD MOVIES / TV" + language: zh-cn + type: private + encoding: UTF-8 + links: + - https://hdzone.me/ + + caps: + categorymappings: + - {id: 411, cat: Movies/SD, desc: "Movies SD"} + - {id: 412, cat: Movies, desc: "Movies IPad"} + - {id: 413, cat: Movies/HD, desc: "Movies 720p"} + - {id: 414, cat: Movies/HD, desc: "Movies 1080p"} + - {id: 415, cat: Movies, desc: "Movies REMUX"} + - {id: 450, cat: Movies/BluRay, desc: "Movies Bluray"} + - {id: 499, cat: Movies/UHD, desc: "Movies UHD Blu-ray"} + - {id: 416, cat: Movies/UHD, desc: "Movies 2160p"} + - {id: 417, cat: TV/Documentary, desc: "Doc SD"} + - {id: 418, cat: TV/Documentary, desc: "Doc IPad"} + - {id: 419, cat: TV/Documentary, desc: "Doc 720p"} + - {id: 420, cat: TV/Documentary, desc: "Doc 1080p"} + - {id: 421, cat: TV/Documentary, desc: "Doc REMUX"} + - {id: 451, cat: TV/Documentary, desc: "Doc Bluray"} + - {id: 500, cat: TV/Documentary, desc: "Doc UHD Blu-ray"} + - {id: 422, cat: TV/Documentary, desc: "Doc 2160p"} + - {id: 423, cat: Audio/Video, desc: "TVMusic 720p"} + - {id: 424, cat: Audio/Video, desc: "TVMusic 1080i"} + - {id: 425, cat: TV/SD, desc: "TVShow SD"} + - {id: 426, cat: TV, desc: "TVShow IPad"} + - {id: 471, cat: TV, desc: "TVShow IPad"} + - {id: 427, cat: TV/HD, desc: "TVShow 720p"} + - {id: 472, cat: TV/HD, desc: "TVShow 720p"} + - {id: 428, cat: TV/HD, desc: "TVShow 1080i"} + - {id: 429, cat: TV/HD, desc: "TVShow 1080p"} + - {id: 430, cat: TV, desc: "TVShow REMUX"} + - {id: 452, cat: TV/HD, desc: "TVShow Bluray"} + - {id: 431, cat: TV/UHD, desc: "TVShow 2160p"} + - {id: 432, cat: TV/SD, desc: "TVSeries SD"} + - {id: 433, cat: TV, desc: "TVSeries IPad"} + - {id: 434, cat: TV/HD, desc: "TVSeries 720p"} + - {id: 435, cat: TV/HD, desc: "TVSeries 1080i"} + - {id: 436, cat: TV/HD, desc: "TVSeries 1080p"} + - {id: 437, cat: TV, desc: "TVSeries REMUX"} + - {id: 453, cat: TV/HD, desc: "TVSeries Bluray"} + - {id: 438, cat: TV/UHD, desc: "TVSeries 2160p"} + - {id: 439, cat: Audio, desc: "Music APE"} + - {id: 440, cat: Audio/Lossless, desc: "Music FLAC"} + - {id: 441, cat: Audio/Video, desc: "Music MV"} + - {id: 442, cat: TV/Sport, desc: "Sports 720p"} + - {id: 443, cat: TV/Sport, desc: "Sports 1080i"} + - {id: 444, cat: TV/Anime, desc: "Anime SD"} + - {id: 445, cat: TV/Anime, desc: "Anime IPad"} + - {id: 446, cat: TV/Anime, desc: "Anime 720p"} + - {id: 447, cat: TV/Anime, desc: "Anime 1080p"} + - {id: 448, cat: TV/Anime, desc: "Anime REMUX"} + - {id: 454, cat: TV/Anime, desc: "Anime Bluray"} + - {id: 409, cat: Other, desc: "Misc"} + - {id: 449, cat: TV/Anime, desc: "Anime 2160p"} + - {id: 501, cat: TV/Anime, desc: "Anime UHD Blu-ray"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] + + settings: + - name: cookie + type: text + label: Cookie + - name: info + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker in your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. Copy & paste the whole cookie string to here
" + + login: + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: torrents.php + selector: a[href="logout.php"] + + search: + paths: + - path: torrents.php + inputs: + $raw: "{{range .Categories}}cat{{.}}=1&{{end}}" + search: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" + # 0 incldead 1 active 2 onlydead + incldead: 0 + # 0 all 1 normal 2 free 3 2x 4 2xfree 5 50% 6 2x50% 7 30% + spstate: 0 + # 0 all 1 bookm 2 notbookm + inclbookmarked: 0 + # 0 title 1 descr 3 uploader 4 imdb + search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}" + # 0 AND 1 OR 2 exact + search_mode: 0 + rows: + selector: table.torrents > tbody > tr:has(table.torrentname) + fields: + category: + selector: a[href^="?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: a[href^="details.php?id="] + title: + optional: true + selector: a[title][href^="details.php?id="] + attribute: title + details: + selector: a[href^="details.php?id="] + attribute: href + download: + selector: a[href^="download.php?id="] + attribute: href + imdb: + optional: true + selector: a[href*="www.imdb.com/title/tt"] + attribute: href + comments: + selector: td:nth-child(3) a + attribute: href + date: + selector: td:nth-child(4) > span[title] + attribute: title + filters: + - name: append + args: " +08:00" + - name: dateparse + args: "2006-01-02 15:04:05 -07:00" + size: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + leechers: + selector: td:nth-child(7) + grabs: + selector: td:nth-child(8) + downloadvolumefactor: + case: + img.pro_free: "0" + img.pro_free2up: "0" + img.pro_50pctdown: "0.5" + img.pro_50pctdown2up: "0.5" + img.pro_30pctdown: "0.3" + "*": "1" + uploadvolumefactor: + case: + img.pro_50pctdown2up: "2" + img.pro_free2up: "2" + img.pro_2up: "2" + "*": "1" + description: + selector: td:nth-child(2) + remove: a, img