hdatmos: add 2fa

update engine tag
This commit is contained in:
Garfield69
2023-02-03 19:58:23 +13:00
parent 489e0c895a
commit 435b7e84e4

View File

@@ -32,6 +32,13 @@ settings:
- name: password
type: password
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 HDAtmos Web Site. Otherwise just leave it empty."
- name: freeleech
type: checkbox
label: Search freeleech only
@@ -66,12 +73,14 @@ login:
selector: img[alt="CAPTCHA"]
input: imagestring
inputs:
secret: ""
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
two_step_code: "{{ .Config.2facode }}"
logout: ""
securelogin: ""
ssl: yes
trackerssl: ""
trackerssl: yes
error:
- selector: td.embedded:has(h2:contains("失败"))
message:
@@ -172,4 +181,4 @@ search:
remove: a, img
minimumratio:
text: 0.81
# NexusPHP Standard v1.5 Beta 4
# NexusPHP 1.7.31 2022-11-14