From 734bdd21dd3303d7013d3ed07de53e77ae1fed8c Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 20 Jun 2019 17:05:14 +1200 Subject: [PATCH] hon3yhd: bypass login issue by using cookie login for now. #5455 --- src/Jackett.Common/Definitions/hon3yhd.yml | 36 ++++++++++++++++------ 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/Jackett.Common/Definitions/hon3yhd.yml b/src/Jackett.Common/Definitions/hon3yhd.yml index 8940a6050..8d9ae5bb0 100644 --- a/src/Jackett.Common/Definitions/hon3yhd.yml +++ b/src/Jackett.Common/Definitions/hon3yhd.yml @@ -50,21 +50,37 @@ search: [q] tv-search: [q, season, ep] + 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: - path: login.php - method: form - form: form[action="takelogin.php"] + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - use_ssl: "1" - perm_ssl: "1" - error: - - selector: tbody:has(td.colhead > span:contains("Error")) - - selector: tbody:has(td.colhead > span:contains("failed")) + cookie: "{{ .Config.cookie }}" test: path: browse.php +# login: +# path: login.php +# method: form +# form: form[action="takelogin.php"] +# inputs: +# username: "{{ .Config.username }}" +# password: "{{ .Config.password }}" +# use_ssl: "1" +# perm_ssl: "1" +# error: +# - selector: tbody:has(td.colhead > span:contains("Error")) +# - selector: tbody:has(td.colhead > span:contains("failed")) +# test: +# path: browse.php + search: paths: - path: browse.php