From 8081baad7b5900b517d881bed35983d835007960 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 3 Dec 2019 20:02:19 +1300 Subject: [PATCH] hdhome: use cookie login. resolves #6460 also updated the categories. --- src/Jackett.Common/Definitions/hdhome.yml | 34 +++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/src/Jackett.Common/Definitions/hdhome.yml b/src/Jackett.Common/Definitions/hdhome.yml index 208ebdf57..f3ec06543 100644 --- a/src/Jackett.Common/Definitions/hdhome.yml +++ b/src/Jackett.Common/Definitions/hdhome.yml @@ -18,18 +18,21 @@ - {id: 414, cat: Movies/HD, desc: "Movies 1080p"} - {id: 415, cat: Movies/HD, desc: "Movies REMUX"} - {id: 450, cat: Movies/BluRay, desc: "Movies Bluray"} - - {id: 416, cat: Movies/HD, desc: "Movies 2160p"} + - {id: 499, cat: Movies/BluRay, 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: TV/HD, desc: "TVMusic 720p"} - {id: 424, cat: TV/HD, desc: "TVMusic 1080i"} - {id: 425, cat: TV/SD, desc: "TVShow SD"} - {id: 426, cat: TV/SD, desc: "TVShow IPad"} + - {id: 471, cat: TV/SD, desc: "TVShow IPad"} - {id: 427, cat: TV/HD, desc: "TVShow 720p"} - {id: 428, cat: TV/HD, desc: "TVShow 1080i"} - {id: 429, cat: TV/HD, desc: "TVShow 1080p"} @@ -43,7 +46,8 @@ - {id: 436, cat: TV/HD, desc: "TVSeries 1080p"} - {id: 437, cat: TV/HD, desc: "TVSeries REMUX"} - {id: 453, cat: TV/HD, desc: "TVSereis Bluray"} - - {id: 438, cat: TV/HD, desc: "TVSeries 2160p"} + - {id: 438, cat: TV/UHD, desc: "TVSeries 2160p"} + - {id: 502, cat: TV/UHD, desc: "TVSeries 4K Bluray"} - {id: 439, cat: Audio/Other, desc: "Musics APE"} - {id: 440, cat: Audio/Lossless, desc: "Musics FLAC"} - {id: 441, cat: Audio/Video, desc: "Musics MV"} @@ -57,28 +61,28 @@ - {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 with 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: - path: login.php - method: form - form: form[action="takelogin.php"] - captcha: - type: image - selector: img[alt="CAPTCHA"] - input: imagestring + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: td.embedded:has(h2:contains("姿势不正确")) - - selector: td.embedded:has(h2:contains("失败")) + cookie: "{{ .Config.cookie }}" test: - path: torrents.php + path: index.php search: paths: