Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrCouldNotLogin login failed ErrCouldNotLogin = errors.New("could not login") // ErrNeedCaptcha try to login in browser first ErrNeedCaptcha = errors.New("login: need captcha") )
View Source
var ( //ErrCannotParseData cannot parse html data error ErrCannotParseData = errors.New("data: parse error") )
View Source
var ErrCouldNotGetFormSession = errors.New("could not get form session")
ErrCouldNotGetFormSession get form session id failed
Functions ¶
func LoginConfirm ¶
LoginConfirm 验证账号密码
func SetSslVerify ¶ added in v1.1.1
func SetSslVerify(verify bool)
SetSslVerify when set false, insecure connection will be allowed
Types ¶
Click to show internal directories.
Click to hide internal directories.