mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
hdtime: switch to cookie method. resolves #7015
This commit is contained in:
@@ -32,19 +32,11 @@ caps:
|
|||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: cookie
|
||||||
type: text
|
type: text
|
||||||
label: Username
|
label: Cookie
|
||||||
- name: password
|
- name: info_cookie
|
||||||
type: password
|
type: info_cookie
|
||||||
label: Password
|
|
||||||
- name: 2facode
|
|
||||||
type: text
|
|
||||||
label: 2FA code
|
|
||||||
- name: info_2fa
|
|
||||||
type: info
|
|
||||||
label: "About 2FA code"
|
|
||||||
default: "Only fill in the <b>2FA code</b> box if you have enabled <b>2FA</b> on the HDtime Web Site. Otherwise just leave it empty."
|
|
||||||
- name: freeleech
|
- name: freeleech
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Search freeleech only
|
label: Search freeleech only
|
||||||
@@ -75,19 +67,10 @@ settings:
|
|||||||
default: "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
|
default: "Account retention rules:<ol><li>Veteran User and above will be retained forever</li><li>Elite User and above will not have their account deleted after parking (in the control panel)</li><li>Users with a parked account will be deleted if they do not log in for 400 consecutive days</li><li>Users with a non-parked account will be deleted if they do not log in for 150 consecutive days</li><li>Users with no traffic (ie, upload/download data are both 0) will be deleted if they do not log in for 100 consecutive days.</li></ol>"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: takelogin.php
|
# using cookie method because takelogin.php returns 302
|
||||||
method: post
|
method: cookie
|
||||||
inputs:
|
inputs:
|
||||||
secret: ""
|
cookie: "{{ .Config.cookie }}"
|
||||||
username: "{{ .Config.username }}"
|
|
||||||
password: "{{ .Config.password }}"
|
|
||||||
two_step_code: "{{ .Config.2facode }}"
|
|
||||||
logout: ""
|
|
||||||
securelogin: ""
|
|
||||||
ssl: yes
|
|
||||||
trackerssl: yes
|
|
||||||
error:
|
|
||||||
- selector: td.embedded:has(h2:contains("失败"))
|
|
||||||
test:
|
test:
|
||||||
path: index.php
|
path: index.php
|
||||||
selector: a[href="logout.php"]
|
selector: a[href="logout.php"]
|
||||||
|
Reference in New Issue
Block a user