diff --git a/src/Jackett.Common/Definitions/hdatmos.yml b/src/Jackett.Common/Definitions/hdatmos.yml
index 1441b89e4..34732b8af 100644
--- a/src/Jackett.Common/Definitions/hdatmos.yml
+++ b/src/Jackett.Common/Definitions/hdatmos.yml
@@ -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 2FA code box if you have enabled 2FA 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