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

auth.py登录返回403错误 #75

Open
gozky opened this issue Jun 29, 2016 · 0 comments
Open

auth.py登录返回403错误 #75

gozky opened this issue Jun 29, 2016 · 0 comments

Comments

@gozky
Copy link

gozky commented Jun 29, 2016

INFO: 正在加载配置文件 ...
INFO: 提取XSRF 代码失败
INFO: 正在调用外部程序渲染验证码 ...
INFO: Command: xdg-open verify.gif &
请输入验证码: EPY3
ERROR: 网络异常

Traceback (most recent call last):
  File "auth.py", line 249, in <module>
    login()
  File "auth.py", line 228, in login
    result = upload_form(form_data)
  File "auth.py", line 146, in upload_form
    raise NetworkError(u"表单上传失败!")
__main__.NetworkError

我是根据配置文件登录,输入验证码后,这里一直返回403,另外我已经在auth.py中所有requests.get添加了headers.

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