Skip to content

Commit

Permalink
hddolby: add captcha and 2fa to login. resolves #8783
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed May 27, 2020
1 parent 877883b commit b98dbd7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/Jackett.Common/Definitions/hddolby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <b>2FA code</b> box if you have enabled <b>2FA</b> 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 <b>Torrents per page:</b> setting to <b>100</b> 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
Expand Down

0 comments on commit b98dbd7

Please sign in to comment.