crawl videos from Vimeo API... learning-by-doing Golang!
In order to build and run this app you need to have a couple of things installed:
check Releases to download the binary suitable for your platform, then you can run it as executable prog.
# clone this repo
$ git clone https://github.com/capgemininorway/crawlerbaba
$ cd crawlerbaba
WARNING This APP requires a valid token for connecting to Vimeo API!!!
You can get it from Vimeo Developer portal
By default, app checks for env-var to find vimeoToken, if not found then it asks user for input.
# set vimeoToken as env-variable
$ export VIMEO_TOKEN=<your-vimeo-token>
# OR just enter it when app asks you for it
# run the App from the code
$ go run crawler.go
# build & run it as executable
$ go build crawler.go
$ ./crawler
# by default, 'go build' generates executable per env it runs.
# see https://golang.org/pkg/go/build/
# if you want to specify per OS compatibility, see each below
## - linux
$ GOOS=linux GOARCH=amd64 go build crawler.go
## - mac
$ GOOS=darwin GOARCH=amd64 go build crawler.go
## - windows
$ GOOS=windows GOARCH=amd64 go build crawler.go
see make-build.sh that builds for all common platforms