-
Notifications
You must be signed in to change notification settings - Fork 856
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
网络异常 #70
Comments
WARN: 网络故障 重新登陆也不行,说是网络故障。 |
啥意思楼上,你也遇到这个问题了吗 |
是的,我也遇到这个问题了,不知道怎么解决呢 |
第一次还行后面再登录就不行了。 |
url = 'http://www.zhihu.com' |
感觉作者的登录写的比较长 |
一样的问题,有人有临时fix吗? |
同求 |
遇到同样的问题 +1 |
大家把auth.py里面的所有request.get都传多一个参数 headers=headers 就能解决问题了,headers能在auth.py里面找到 |
楼上什么意思... |
request.get都传多一个参数 headers=headers 正解 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用户失效后重新登录报错:
WARN:网络故障
INFO: 正在加载配置文件 ...
Traceback (most recent call last):
File "C:/Users/Administrator/PycharmProjects/��Ӱ/���ݽṹ���㷨/auth.py", line 241, in
login()
File "C:/Users/Administrator/PycharmProjects/��Ӱ/���ݽṹ���㷨/auth.py", line 213, in login
form_data = build_form(account, password)
File "C:/Users/Administrator/PycharmProjects/��Ӱ/���ݽṹ���㷨/auth.py", line 115, in build_form
form['_xsrf'] = search_xsrf()
File "C:/Users/Administrator/PycharmProjects/��Ӱ/���ݽṹ���㷨/auth.py", line 101, in search_xsrf
raise NetworkError(u"验证码请求失败")
main.NetworkError
ERROR: 网络异常
这个是网络异常还是登录失败了
The text was updated successfully, but these errors were encountered: