From 435b7e84e4261300d1b3110cdadfdcc83c2a87b5 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 3 Feb 2023 19:58:23 +1300 Subject: [PATCH] hdatmos: add 2fa update engine tag --- src/Jackett.Common/Definitions/hdatmos.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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