diff --git a/src/Jackett.Common/Definitions/hdarea.yml b/src/Jackett.Common/Definitions/hdarea.yml
index 3b559dc5a..d6862cb6e 100644
--- a/src/Jackett.Common/Definitions/hdarea.yml
+++ b/src/Jackett.Common/Definitions/hdarea.yml
@@ -36,16 +36,21 @@ caps:
music-search: [q]
settings:
- - name: username
+ - name: cookie
type: text
- label: Username
- - name: password
- type: password
- label: Password
+ 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.
"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
+ - name: info_tpp
+ type: info
+ label: Results Per Page
+ default: For best results, change the Torrents per page: setting to 100 on your account profile.
- name: sort
type: select
label: Sort requested from site
@@ -68,21 +73,11 @@ settings:
default: For best results, change the Torrents per page: setting to 100 on your account profile.
login:
- path: takelogin.php
- method: post
+ method: cookie
inputs:
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- logout: ""
- securelogin: ""
- ssl: yes
- trackerssl: yes
- error:
- - selector: td.embedded:has(h2:contains("失败"))
- - selector: td.embedded:has(h2:contains("failed"))
+ cookie: "{{ .Config.cookie }}"
test:
path: index.php
- selector: a[href="logout.php"]
ratio:
path: torrents.php
diff --git a/src/Jackett.Common/Definitions/ptmsg.yml b/src/Jackett.Common/Definitions/ptmsg.yml
index 4c18f6c11..a8da7a7db 100644
--- a/src/Jackett.Common/Definitions/ptmsg.yml
+++ b/src/Jackett.Common/Definitions/ptmsg.yml
@@ -28,16 +28,21 @@ caps:
music-search: [q]
settings:
- - name: username
+ - name: cookie
type: text
- label: Username
- - name: password
- type: password
- label: Password
+ 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.
"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
+ - name: info_tpp
+ type: info
+ label: Results Per Page
+ default: For best results, change the Torrents per page: setting to 100 on your account profile.
- name: sort
type: select
label: Sort requested from site
@@ -60,16 +65,11 @@ settings:
default: For best results, change the Torrents per page: setting to 100 on your account profile.
login:
- path: /index/login/takelogin
- method: post
+ method: cookie
inputs:
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- error:
- - selector: div.login_err_header
+ cookie: "{{ .Config.cookie }}"
test:
path: index.php
- selector: a[href="logout.php"]
search:
paths:
diff --git a/src/Jackett.Common/Definitions/torrentccf.yml b/src/Jackett.Common/Definitions/torrentccf.yml
index 89f4d6aa1..4853794d6 100644
--- a/src/Jackett.Common/Definitions/torrentccf.yml
+++ b/src/Jackett.Common/Definitions/torrentccf.yml
@@ -41,16 +41,21 @@ caps:
music-search: [q]
settings:
- - name: username
+ - name: cookie
type: text
- label: Username
- - name: password
- type: password
- label: Password
+ 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.
"
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
+ - name: info_tpp
+ type: info
+ label: Results Per Page
+ default: For best results, change the Torrents per page: setting to 100 on your account profile.
- name: sort
type: select
label: Sort requested from site
@@ -73,25 +78,11 @@ settings:
default: For best results, change the Torrents per page: setting to 100 on your account profile.
login:
- path: login.php
- method: form
- form: form[action="takelogin.php"]
- captcha:
- type: image
- selector: img[alt="CAPTCHA"]
- input: imagestring
+ method: cookie
inputs:
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- 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"]
search:
paths: