Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bilibili登陆问题 #34

Closed
Shadyree opened this issue Jul 29, 2020 · 4 comments
Closed

Bilibili登陆问题 #34

Shadyree opened this issue Jul 29, 2020 · 4 comments

Comments

@Shadyree
Copy link

在登陆时,出现了can only concatenate str (not "bytes") to str报错,调试发现是bilibili.py的107行,因为登陆需要验证码,在第二次运行到这里的时候,password的类型从str变为了bytes。

转换后又出现了
OverflowError:191 bytes needed for message, but there is only space for 117的报错

暂未解决

@Shadyree
Copy link
Author

我使用的python版本是3.8.5

@Shadyree
Copy link
Author

又调试了一下发现它的验证码是字母,但是我去b站登陆是点击对应文字,会不会是这个原因?

@CharlesPikachu
Copy link
Owner

So why do you login in bilibili so frequently?

@Shadyree
Copy link
Author

哦哦,这只是用来模拟登陆吧,我本来想来爬一爬壁纸的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants