Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

问题,重新开一个lssuse #37

Closed
D3ee opened this issue Mar 27, 2018 · 7 comments
Closed

问题,重新开一个lssuse #37

D3ee opened this issue Mar 27, 2018 · 7 comments
Labels

Comments

@D3ee
Copy link

D3ee commented Mar 27, 2018

添加后错误代码又变了
Traceback (most recent call last):
File "C:\Users\Dee丶\Desktop\bilibili-live-tools-master\login.py", line 42, in success
response = requests.post(url, data=payload, headers=headersprint(response.json()))
NameError: name 'headersprint' is not defined

@Dawnnnnnn
Copy link
Owner

。。。。这样写

    response = requests.post(url, data=payload, headers=headers)
    print(response.json())

@D3ee
Copy link
Author

D3ee commented Mar 27, 2018

{'ts': 1522151457, 'message': 'CAPTCHA is not match', 'code': -105}
Traceback (most recent call last):
File "C:\Users\Dee丶\Desktop\bilibili-live-tools-master\login.py", line 44, in success
access_key = response.json()['data']['token_info']['access_token']
KeyError: 'data'

@Dawnnnnnn
Copy link
Owner

噢,出验证码了,应该是异地登陆太多了

@D3ee
Copy link
Author

D3ee commented Mar 27, 2018

前面出现的错误就是因为异地登陆太多了?

@yjqiang
Copy link
Collaborator

yjqiang commented Mar 27, 2018

console问题已经修复

@yjqiang
Copy link
Collaborator

yjqiang commented Mar 27, 2018

你是挂在vps上么

@D3ee
Copy link
Author

D3ee commented Mar 27, 2018

没,校园网,今天突然强制要用客户端登,以前直接在网页登陆的

@D3ee D3ee closed this as completed Mar 27, 2018
@yjqiang yjqiang mentioned this issue Mar 27, 2018
lovelyyoshino pushed a commit to lovelyyoshino/bilibili-live-tools that referenced this issue Apr 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants