B站登录系统更新,此项目处于不可用状态。
-python3
-requests Lib
user = Bilibili()user.login('userid', 'password')The Verification Code will be saved in .\vcode.png
Open the file and enter the vcode
vcode:*****
If you succeed in login, it will output "isLogin = True, ID=******" after a few seconds
Else output "isLogin = False"
Save cookies
user.dumps('cookie.json')Load cookies
user.loads('cookie.json')user.check_login() # Output "isLogin=....." and Return Booleans
user.check_login(None) # No output and Return Booleansuser.give_coin('7319078') # Require the aid of video