Open dynabler opened 8 months ago
Note: You do not have to download the source code from GitHub (as zip) in order to install flyscrape from source. The Go compiler (which you will install) does all that for you behind the scenes.
go install github.com/philippta/flyscrape/cmd/flyscrape@latest
In case you want to modify the source code before compiling it you can do the following:
go build ./cmd/flyscrape
The second set of instructions is what I was looking for. I managed to get a flyscrape.exe. But can't get it to run:
cache: failed to create cache table: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
What's the solution?
I don’t have much experience on windows but you can try running this command before the build command:
set CGO_ENABLED=1
How do I compile Flyscrape from source? The docs say:
go install github.com/philippta/flyscrape/cmd/flyscrape@latest
But I downloaded a zip file, unpacked, changed some code and did
go build
I also did
go build flyscrape.go/scrape.go etc.
And nothing happened. Am I missing something?