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

ZhihuClient.LoginException: Login Fail: #11

Open
zkailinzhang opened this issue Mar 1, 2022 · 0 comments
Open

ZhihuClient.LoginException: Login Fail: #11

zkailinzhang opened this issue Mar 1, 2022 · 0 comments

Comments

@zkailinzhang
Copy link

Password:
Traceback (most recent call last):
File "crawl.py", line 267, in
crawler = Crawler()
File "crawl.py", line 66, in init
self.client = ZhihuClient()
File "/code/weapp-zhihulive/Server/client.py", line 98, in init
self.login(username, password)
File "code/weapp-zhihulive/Server/client.py", line 141, in login
self.save_token(self._login_auth, data)
File "code/weapp-zhihulive/Server/client.py", line 106, in save_token
raise LoginException(json_dict['error']['message'])
exception.LoginException: Login Fail: 为了您的帐号安全,请使用短信验证码登录
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f7498e5b6d0>

@zkailinzhang zkailinzhang changed the title .LoginException: Login Fail: ZhihuClient.LoginException: Login Fail: Mar 1, 2022
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