From 2ef13a4067905c3cd67980e5eb6730bbe026c932 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 9 Mar 2024 15:03:03 +1300 Subject: [PATCH] tormac: back to cookie, + fix seeds when 0. #15130 I only now understood what the original reason for using cookies was ;-D --- src/Jackett.Common/Definitions/tormac.yml | 24 +++++++++-------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/src/Jackett.Common/Definitions/tormac.yml b/src/Jackett.Common/Definitions/tormac.yml index 559574082..bf0afd7b6 100644 --- a/src/Jackett.Common/Definitions/tormac.yml +++ b/src/Jackett.Common/Definitions/tormac.yml @@ -64,12 +64,13 @@ caps: allowrawsearch: true settings: - - name: username + - name: cookie type: text - label: Username - - name: password - type: password - label: Password + label: Cookie + - name: info_cookie + 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 (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" - name: stripcyrillic type: checkbox label: Strip Cyrillic Letters @@ -104,18 +105,11 @@ settings: default: "Inactive accounts are automatically deleted after 90 days from the moment the system first detects inactivity." login: - path: login.php - method: form - form: form[action="login.php"] + method: cookie inputs: - login_username: "{{ .Config.username }}" - login_password: "{{ .Config.password }}" - redirect: index.php - login: Вход - error: - - selector: h4.warnColor1 + cookie: "{{ .Config.cookie }}" test: - path: / + path: index.php selector: "a[onclick=\"return post2url('login.php', {logout: 1});\"]" search: