mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-02-02 18:22:39 +08:00
Merge pull request #5452 from 0honus0/v2
This commit is contained in:
@@ -19,41 +19,42 @@ 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"]',
|
||||||
'//button[@type="submit"]',
|
'//button[@type="submit"]',
|
||||||
'//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"]',
|
||||||
],
|
],
|
||||||
"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