mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-02-03 02:25:32 +08:00
根据意见增加尾部逗号
This commit is contained in:
@@ -19,26 +19,26 @@ class CookieHelper:
|
|||||||
"username": [
|
"username": [
|
||||||
'//input[@name="username"]',
|
'//input[@name="username"]',
|
||||||
'//input[@id="form_item_username"]',
|
'//input[@id="form_item_username"]',
|
||||||
'//input[@id="username"]'
|
'//input[@id="username"]',
|
||||||
],
|
],
|
||||||
"password": [
|
"password": [
|
||||||
'//input[@name="password"]',
|
'//input[@name="password"]',
|
||||||
'//input[@id="form_item_password"]',
|
'//input[@id="form_item_password"]',
|
||||||
'//input[@id="password"]',
|
'//input[@id="password"]',
|
||||||
'//input[@type="password"]'
|
'//input[@type="password"]',
|
||||||
],
|
],
|
||||||
"captcha": [
|
"captcha": [
|
||||||
'//input[@name="imagestring"]',
|
'//input[@name="imagestring"]',
|
||||||
'//input[@name="captcha"]',
|
'//input[@name="captcha"]',
|
||||||
'//input[@id="form_item_captcha"]',
|
'//input[@id="form_item_captcha"]',
|
||||||
'//input[@placeholder="驗證碼"]'
|
'//input[@placeholder="驗證碼"]',
|
||||||
],
|
],
|
||||||
"captcha_img": [
|
"captcha_img": [
|
||||||
'//img[@alt="captcha"]/@src',
|
'//img[@alt="captcha"]/@src',
|
||||||
'//img[@alt="CAPTCHA"]/@src',
|
'//img[@alt="CAPTCHA"]/@src',
|
||||||
'//img[@alt="SECURITY CODE"]/@src',
|
'//img[@alt="SECURITY CODE"]/@src',
|
||||||
'//img[@id="LAY-user-get-vercode"]/@src',
|
'//img[@id="LAY-user-get-vercode"]/@src',
|
||||||
'//img[contains(@src,"/api/getCaptcha")]/@src'
|
'//img[contains(@src,"/api/getCaptcha")]/@src',
|
||||||
],
|
],
|
||||||
"submit": [
|
"submit": [
|
||||||
'//input[@type="submit"]',
|
'//input[@type="submit"]',
|
||||||
@@ -46,15 +46,15 @@ class CookieHelper:
|
|||||||
'//button[@lay-filter="login"]',
|
'//button[@lay-filter="login"]',
|
||||||
'//button[@lay-filter="formLogin"]',
|
'//button[@lay-filter="formLogin"]',
|
||||||
'//input[@type="button"][@value="登录"]',
|
'//input[@type="button"][@value="登录"]',
|
||||||
'//input[@id="submit-btn"]'
|
'//input[@id="submit-btn"]',
|
||||||
],
|
],
|
||||||
"error": [
|
"error": [
|
||||||
"//table[@class='main']//td[@class='text']/text()"
|
"//table[@class='main']//td[@class='text']/text()",
|
||||||
],
|
],
|
||||||
"twostep": [
|
"twostep": [
|
||||||
'//input[@name="two_step_code"]',
|
'//input[@name="two_step_code"]',
|
||||||
'//input[@name="2fa_secret"]',
|
'//input[@name="2fa_secret"]',
|
||||||
'//input[@name="otp"]'
|
'//input[@name="otp"]',
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user