diff --git a/src/Jackett.Common/Definitions/qingwa.yml b/src/Jackett.Common/Definitions/qingwa.yml
index 399f83a4b..2e978b60d 100644
--- a/src/Jackett.Common/Definitions/qingwa.yml
+++ b/src/Jackett.Common/Definitions/qingwa.yml
@@ -6,9 +6,10 @@ language: zh-CN
type: private
encoding: UTF-8
links:
- - https://www.qingwapt.com/
+ - https://qingwapt.com/
legacylinks:
- https://new.qingwa.pro/
+ - https://www.qingwapt.com/
caps:
categorymappings:
@@ -31,19 +32,13 @@ caps:
music-search: [q]
settings:
- - name: username
+ - name: cookie
type: text
- label: Username
- - name: password
- type: password
- label: Password
- - name: 2facode
- type: text
- label: 2FA code
- - name: info_2fa
+ label: Cookie
+ - name: info
type: info
- label: "About 2FA code"
- default: "Only fill in the 2FA code box if you have enabled 2FA on the Qingwa Web Site. Otherwise just leave it empty."
+ 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.
"
- name: freeleech
type: checkbox
label: Search freeleech only
@@ -74,24 +69,9 @@ settings:
default: "Cherish your user account. Inactive accounts would be deleted based on the following rules:- Veteran User or above would never be deleted.
- Elite User or above would never be deleted if parked (at User CP).
- Parked accounts would be deleted if users have not logged in for more than 400 days in a row.
- Unparked accounts would be deleted if users have not logged in for more than 150 days in a row.
- Accounts with both uploaded and downloaded amount being 0 would be deleted if users have not logged in for more than 100 days in a row.
"
login:
- path: login.php
- method: form
- form: form[action="takelogin.php"]
- captcha:
- type: image
- selector: img[alt="CAPTCHA"]
- input: imagestring
+ method: cookie
inputs:
- secret: ""
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- two_step_code: "{{ .Config.2facode }}"
- logout: ""
- securelogin: ""
- ssl: yes
- trackerssl: yes
- error:
- - selector: td.embedded:has(h2:contains("失败"))
+ cookie: "{{ .Config.cookie }}"
test:
path: index.php
selector: a[href="logout.php"]