diff --git a/src/Jackett.Common/Definitions/hddolby.yml b/src/Jackett.Common/Definitions/hddolby.yml index 0faff927b..1f7672133 100644 --- a/src/Jackett.Common/Definitions/hddolby.yml +++ b/src/Jackett.Common/Definitions/hddolby.yml @@ -35,17 +35,30 @@ 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 HDDolby Web Site. Otherwise just leave it empty." - 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. login: - path: takelogin.php - method: post + path: login.php + method: form + form: form[action="takelogin.php"] + captcha: + type: image + selector: img[alt="CAPTCHA"] + input: imagestring inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" + scode: "{{ .Config.2facode }}" logout: "" securelogin: "" ssl: yes