修复顺序问题。。。导致的自动转换失败
This commit is contained in:
parent
f81086c094
commit
088706cd36
@ -171,7 +171,7 @@ func CookieOK(ck *JdCookie) bool {
|
||||
logs.Info(ck.WsKey)
|
||||
logs.Info("进入失效账号")
|
||||
var pinky = fmt.Sprintf("pin=%s;wskey=%s;", ck.PtPin, ck.WsKey)
|
||||
msg1 := cmd(fmt.Sprintf(`wskey="%s" python3 wspt.py`, pinky), &Sender{})
|
||||
msg1 := cmd(fmt.Sprintf(`python3 test.py "%s"`, pinky), &Sender{})
|
||||
JdCookie{}.Push(fmt.Sprintf("自动转换wskey---%s", msg1))
|
||||
ss := regexp.MustCompile(`pt_key=([^;=\s]+);pt_pin=([^;=\s]+)`).FindAllStringSubmatch(msg1, -1)
|
||||
if len(ss) > 0 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user