mirror of https://github.com/Jackett/Jackett
putau: drop captcha on login
the checkcode is hardcoded now
This commit is contained in:
parent
c5e7d161ef
commit
ada36b7da7
|
@ -51,10 +51,6 @@ settings:
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
- name: info_captcha
|
|
||||||
type: info
|
|
||||||
label: About the Captcha
|
|
||||||
default: If the Captcha image is missing then set the <b>checkcode</b> to <b>XxXx</b>
|
|
||||||
- name: freeleech
|
- name: freeleech
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Search freeleech only
|
label: Search freeleech only
|
||||||
|
@ -84,13 +80,10 @@ login:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: form
|
method: form
|
||||||
form: form[action="takelogin.php"]
|
form: form[action="takelogin.php"]
|
||||||
captcha:
|
|
||||||
type: image
|
|
||||||
selector: img[src^="getcheckcode.php?"]
|
|
||||||
input: checkcode
|
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
username: "{{ .Config.username }}"
|
||||||
password: "{{ .Config.password }}"
|
password: "{{ .Config.password }}"
|
||||||
|
checkcode: XxXx
|
||||||
logout: ""
|
logout: ""
|
||||||
error:
|
error:
|
||||||
- selector: td.embedded:has(h2:contains("失败"))
|
- selector: td.embedded:has(h2:contains("失败"))
|
||||||
|
|
Loading…
Reference in New Issue