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: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button (Chrome Browser) or HTML button (FireFox)
- Refresh the page by pressing F5
- Click on the first row entry
- Select the Headers tab on the Right panel
- Find 'cookie:' in the Request Headers section
- 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"]