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

不知道楼主这个咋用。。不会debug。。。 #1

Open
Shaooooo opened this issue Dec 29, 2017 · 0 comments
Open

不知道楼主这个咋用。。不会debug。。。 #1

Shaooooo opened this issue Dec 29, 2017 · 0 comments

Comments

@Shaooooo
Copy link

D:\work\PythonSpace\wechatRob\venv\Scripts\python.exe D:/work/PythonSpace/wechatRob/zhihuFollow.py
Traceback (most recent call last):
File "D:/work/PythonSpace/wechatRob/zhihuFollow.py", line 127, in
create_cookies()
File "D:/work/PythonSpace/wechatRob/zhihuFollow.py", line 46, in create_cookies
req = session.get(url, headers=headers)
File "D:\work\PythonSpace\wechatRob\venv\lib\site-packages\requests\sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "D:\work\PythonSpace\wechatRob\venv\lib\site-packages\requests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "D:\work\PythonSpace\wechatRob\venv\lib\site-packages\requests\sessions.py", line 640, in send
history = [resp for resp in gen] if allow_redirects else []
File "D:\work\PythonSpace\wechatRob\venv\lib\site-packages\requests\sessions.py", line 218, in resolve_redirects
**adapter_kwargs
File "D:\work\PythonSpace\wechatRob\venv\lib\site-packages\requests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "D:\work\PythonSpace\wechatRob\venv\lib\site-packages\requests\adapters.py", line 506, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.zhihu.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)'),))

Process finished with exit code 1

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