zytedata / zyte-smartproxy-headless-proxy

A complimentary proxy to help to use SPM with headless browsers
MIT License
109 stars 36 forks source link

Unable to install tool using Go #10

Closed jeremy-doyle closed 4 years ago

jeremy-doyle commented 4 years ago

I am trying to install the tool with Go as explained here: https://support.scrapinghub.com/support/solutions/articles/22000234854-how-to-use-crawlera-with-headless-browsers

However, when I try this, the tool fails to install:

C:\Users\user1234>go get github.com/scrapinghub/crawlera-headless-proxy
# github.com/scrapinghub/crawlera-headless-proxy
go\src\github.com\scrapinghub\crawlera-headless-proxy\main.go:205:19: undefined: DefaultCertCA
go\src\github.com\scrapinghub\crawlera-headless-proxy\main.go:206:16: undefined: DefaultPrivateKey

C:\Users\user1234>crawlera-headless-proxy -c crawler\config\file.toml
'crawlera-headless-proxy' is not recognized as an internal or external command,
operable program or batch file.
9seconds commented 4 years ago

Seems that these instructions are not correct. We'll fix them, thanks. Meanwhile, instructions in the current readme are up to date.