/go-phantomjs-fetcher

pyspider phantomjs fetcher clone in golang.

Primary LanguageGoMIT LicenseMIT

go-phantomjs-fetcher

pyspider phantomjs fetcher clone in golang.

Installation

Install PhantomJS

You can download the phantomjs executable binary here. And add it to your $PATH.

Clone the Source

go get github.com/PuerkitoBio/goquery           # used in example
go get github.com/nladuo/go-phantomjs-fetcher

Example

cd $GOPATH/src/github.com/nladuo/go-phantomjs-fetcher
go run ./example/mock_baidu_search.go

mock_baidu_search

LICENSE

MIT