项目地址:https://github.com/CharlesPikachu/DecryptLogin
开源文档:https://httpsgithubcomcharlespikachudecryptlogin.readthedocs.io/zh/latest/
目前支持的部分模拟登录以下网站:

模拟登录知乎的话只需要pip安装该库:
pip install DecryptLogin
然后写三行代码就OK啦:
from DecryptLogin import login lg = login.Login() infos_return, session = lg.zhihu(username, password, 'pc')