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

[BUG]知乎的scanqr模式不能登录 #92

Open
teraStars opened this issue Feb 10, 2023 · 1 comment
Open

[BUG]知乎的scanqr模式不能登录 #92

teraStars opened this issue Feb 10, 2023 · 1 comment

Comments

@teraStars
Copy link

原因是知乎的客户端扫描不了生成的二维码图片,但能扫描知乎自己PC端生成的二维码图片。

@teraStars
Copy link
Author

刚看了一下代码,发现有点怪,你取二维码的部分是对的,关键问题是,这个二维码图片用看图软件(win10自带的照片和Honeyview)浏览后,用手机上的知乎扫描扫不出来。但如果我用编辑图片软件比如(win10自带的mspaint,3d画图)浏览图片,却能扫出来。也是挺神奇。
当我扫描进去后,还是出错了。是zhihu.py的这一句报错:self.session.cookies.update(response_json['cookie'])
提示,没有cookie项。我将这一句给注释掉后,好了。

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

1 participant