From 5261f8c5a68b3f8c46c888ddbf6e6e1e909ecd7a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 4 Oct 2023 06:22:36 +1300 Subject: [PATCH] tjupt: revert to login method. resolves #14736 --- src/Jackett.Common/Definitions/tjupt.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/tjupt.yml b/src/Jackett.Common/Definitions/tjupt.yml index f7dcb2d3c..5e0ba3db9 100644 --- a/src/Jackett.Common/Definitions/tjupt.yml +++ b/src/Jackett.Common/Definitions/tjupt.yml @@ -31,13 +31,12 @@ caps: book-search: [q] settings: - - name: cookie + - name: username 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 (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.
" + label: Username + - name: password + type: password + label: Password - name: freeleech type: checkbox label: Search freeleech only @@ -64,9 +63,15 @@ settings: default: For best results, change the Torrents per page: setting to 100 on your account profile. login: - method: cookie +login: + path: takelogin.php + method: post inputs: - cookie: "{{ .Config.cookie }}" + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + logout: 90days + error: + - selector: td.embedded:has(h2:contains("失败")) test: path: index.php selector: a[href="logout.php"]