You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from DecryptLogin import login
def imitatelogin(username, password):
lg = login.Login()
infos_return, session = lg.music163(username, password)
imitatelogin('******', '******')
这是报错。
Traceback (most recent call last):
File "E:\网易云音乐.py", line 7, in <module>
imitatelogin('*****', '*****')
File "E:\网易云音乐.py", line 5, in imitatelogin
infos_return, session = lg.music163(username, password)
File "D:\Python\Python39\lib\site-packages\DecryptLogin\modules\core\music163.py", line 167, in login
return selected_api.login(**args)
File "D:\Python\Python39\lib\site-packages\DecryptLogin\modules\core\music163.py", line 94, in login
raise RuntimeError(response_json.get('msg')) if 'msg' in response_json else RuntimeError(response_json.get('message'))
RuntimeError: 当前登录失败,请稍后再试
The text was updated successfully, but these errors were encountered:
你好,我今天试了一下网易云接口,不知道为何无法登录,username传入的是手机号,我填写issue时把username和password防止泄露改成*了,在运行的时候是对的。手动在网页登陆的时候是没问题的。
我又把music163改为bilibili试了一下,是没有问题的。谢谢!
这是报错。
The text was updated successfully, but these errors were encountered: