已经设置了代理 set GOPROXY=https://goproxy.cn
执行:go get -u github.com/gocolly/colly/
错误提示:
unrecognized import path "golang.org/x/net/html": https fetch: Get "https://golang.org/x/net/html?go-get=1": dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
下面还有 2 个错误也差不多。
执行:go get -u github.com/gocolly/colly/
错误提示:
unrecognized import path "golang.org/x/net/html": https fetch: Get "https://golang.org/x/net/html?go-get=1": dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
下面还有 2 个错误也差不多。