mirror of https://github.com/Xhofe/alist
feat(189): add tips `get page`
parent
183a6f1b3a
commit
e6ecf1fa30
|
@ -129,7 +129,7 @@ func (driver Cloud189) Login(account *model.Account) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if lt == "" {
|
if lt == "" {
|
||||||
return errors.New(b)
|
return errors.New("get page: " + b)
|
||||||
}
|
}
|
||||||
captchaToken := regexp.MustCompile(`captchaToken' value='(.+?)'`).FindStringSubmatch(b)[1]
|
captchaToken := regexp.MustCompile(`captchaToken' value='(.+?)'`).FindStringSubmatch(b)[1]
|
||||||
returnUrl := regexp.MustCompile(`returnUrl = '(.+?)'`).FindStringSubmatch(b)[1]
|
returnUrl := regexp.MustCompile(`returnUrl = '(.+?)'`).FindStringSubmatch(b)[1]
|
||||||
|
|
Loading…
Reference in New Issue