From ada36b7da7e36ad328031452671694eb9f600ab4 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 21 Nov 2023 09:10:50 +1300 Subject: [PATCH] putau: drop captcha on login the checkcode is hardcoded now --- src/Jackett.Common/Definitions/putao.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/putao.yml b/src/Jackett.Common/Definitions/putao.yml index f72ae5e3e..e2c175952 100644 --- a/src/Jackett.Common/Definitions/putao.yml +++ b/src/Jackett.Common/Definitions/putao.yml @@ -51,10 +51,6 @@ settings: - name: password type: password label: Password - - name: info_captcha - type: info - label: About the Captcha - default: If the Captcha image is missing then set the checkcode to XxXx - name: freeleech type: checkbox label: Search freeleech only @@ -84,13 +80,10 @@ login: path: login.php method: form form: form[action="takelogin.php"] - captcha: - type: image - selector: img[src^="getcheckcode.php?"] - input: checkcode inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" + checkcode: XxXx logout: "" error: - selector: td.embedded:has(h2:contains("失败"))