解决:Python爬取https站点时SNIMissingWarning和InsecurePlatformWarning

今天想利用Requests库爬取糗事百科站点,写了一个请求,却报错了:

后来参考kinsomy的博客,在cmd中pip install pyopenssl ndg-httpsclient pyasn1 后再重新运行,结果ok

posted @ 2017-08-26 11:10  cnhkzyy  阅读(508)  评论(0编辑  收藏  举报