headzoo / surf

Stateful programmatic web browsing in Go.
MIT License
1.48k stars 159 forks source link

install problem #78

Closed marcelloh closed 6 years ago

marcelloh commented 6 years ago

When I do this:

go get gopkg.in/headzoo/surf.v2

I get the foillowing:

# gopkg.in/headzoo/surf.v2
src\gopkg.in\headzoo\surf.v2\browser.go:197:31: not enough arguments in call to jar.NewHistoryState
        have (*http.Request, *http.Response)
        want (*http.Request, *http.Response, *goquery.Document)
src\gopkg.in\headzoo\surf.v2\surf.go:47:33: too many arguments in call to agent.Create
        have (string, string)
        want ()
lxt2 commented 6 years ago

v2 is an experimental branch at this stage. Any reason to install this one and not v1?

marcelloh commented 6 years ago

No, but as I was unable to install, I thought: let's call this in ;-)