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

https请求验证证书返回失败 #29

Open
ssqf opened this issue Oct 25, 2017 · 0 comments
Open

https请求验证证书返回失败 #29

ssqf opened this issue Oct 25, 2017 · 0 comments

Comments

@ssqf
Copy link

ssqf commented Oct 25, 2017

错误日志如下

2017/10/25 17:04:53 /go_proj/src/github.com/hu17889/go_spider/core/downloader/downloader_http.go:238: [ERROR] Get https://xxxxxxx: x509: certificate signed by unknown authority

在connectByHttp 函数中对client添加跳过证书验证,即可爬取https页面,没有找相关功能的函数设置

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