This repository has been archived by the owner on Jul 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
知乎isLogin() 报SSLError错误 #18
Comments
你最后,可以登录成功吗? |
是不是用了python2...https://www.zhihu.com/question/40025043/answer/89258748 |
用的是python3.4,可以登录成功,就是验证登录的函数isLogin()会报错。 |
知乎的登录,又有了点变化,找个时间,我把程序重写下。 |
您好,我试着get这个地址captchaURL = 'http://www.zhihu.com/captcha.gif?r=146...&type=login',r值是当前的时间戳加3个随机值,但还是返回验证码会话错误。您有空能看下么? 绝不是伸手党,谢谢。 |
简单总结:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
知乎isLogin()函数,报错
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
添加
verify=False
后不报错了,有一些警告信息。InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
The text was updated successfully, but these errors were encountered: