From 8b723a3cead7eaea06d4d3d8e3e38c6be7265bfc Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 14 Oct 2019 07:16:15 +1300 Subject: [PATCH] hon3yhd: restore form login. resolves #5455 --- src/Jackett.Common/Definitions/hon3yhd.yml | 34 +++++----------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/src/Jackett.Common/Definitions/hon3yhd.yml b/src/Jackett.Common/Definitions/hon3yhd.yml index 8d9ae5bb0..660c4b35e 100644 --- a/src/Jackett.Common/Definitions/hon3yhd.yml +++ b/src/Jackett.Common/Definitions/hon3yhd.yml @@ -50,37 +50,19 @@ 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: - method: cookie + path: login.php + method: form + form: form[action="takelogin.php"] inputs: - cookie: "{{ .Config.cookie }}" + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + error: + - selector: tbody:has(td.colhead > span:contains("Error")) + - selector: tbody:has(td.colhead > span:contains("failed")) 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