github littlecodersh/ItChat v1.2.28
Login without scanning qrcode

latest releases: v1.3.10, v1.3.9, v1.3.8...
7 years ago

你可以这样测试:

首先成功登陆一次:

import itchat
itchat.auto_login(True)

之后在手机上将该登录状态登出。(模拟各类登出)

之后重新运行登陆,你将不需要扫码直接在手机上获得登陆推送。

import itchat
itchat.auto_login(True)
itchat.send('Login without qrcode!', 'filehelper')

在上次登陆后没有通过其他途径登陆该微信的情况下,再次登录将不再需要扫码,直接收到登陆推送。

Don't miss a new ItChat release

NewReleases is sending notifications on new releases.