1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

remove: slider captcha anto-select

This commit is contained in:
Mrs4s 2022-12-07 03:23:15 +08:00
parent d5936a4064
commit 231544d51e
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -148,8 +148,8 @@ func loginResponseProcessor(res *client.LoginResponse) error {
log.Warnf("登录需要滑条验证码, 请选择验证方式: ")
log.Warnf("1. 使用浏览器抓取滑条并登录")
log.Warnf("2. 使用手机QQ扫码验证 (需要手Q和gocq在同一网络下).")
log.Warn("请输入(1 - 2) (将在10秒后自动选择1)")
text = readLineTimeout(time.Second*10, "1")
log.Warn("请输入(1 - 2)")
text = readLine()
if strings.Contains(text, "1") {
ticket := getTicket(res.VerifyUrl)
if ticket == "" {