Skip to content

[BUG]无法登陆知乎 #89

@Liuxc2005

Description

@Liuxc2005

D:\test>python yanxuan.py
Welcome to use DecryptLogin!
You can visit https://github.com/CharlesPikachu/DecryptLogin for more details.
Welcome to use DecryptLogin!
You can visit https://github.com/CharlesPikachu/DecryptLogin for more details.
Traceback (most recent call last):
File "yanxuan.py", line 8, in
infos_return, session = zhihu.login(' ', ' ', mode='pc')
File "C:\Program Files\python\lib\site-packages\DecryptLogin\modules\clients\baseclient.py", line 44, in login
self.infos_return, self.session = api(username, password, mode, crack_captcha_func, **kwargs)
File "C:\Program Files\python\lib\site-packages\DecryptLogin\modules\core\zhihu.py", line 675, in login
return selected_api.login(**args)
File "C:\Program Files\python\lib\site-packages\DecryptLogin\modules\core\zhihu.py", line 498, in login
removeImage(captcha_path)
UnboundLocalError: local variable 'captcha_path' referenced before assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions