diff --git a/phantom.go b/phantom.go index 1de5167..06e1fdc 100644 --- a/phantom.go +++ b/phantom.go @@ -55,7 +55,7 @@ func NewPhantom() Phantomer { phantom := &Phantom{ userAgent: "Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)", pageEncode: "utf-8", - phantomjsPath: GOPATH + "/src/github.com/k4s/phantomgo/phantomjs/phantomjs", + phantomjsPath: "phantomjs", } //if the javascript file is no exist,creat it if !phantom.Exist(GET_JS_FILE_NAME) { diff --git a/phantomjs/phantomjs.exe b/phantomjs/phantomjs.exe deleted file mode 100644 index 6046b2a..0000000 Binary files a/phantomjs/phantomjs.exe and /dev/null differ