CryptoScraper scrapes today's top 100 crypto coins data and return a list of all cryptocurrencies whose prices are below a given price in ascending order using Go and Colly.
📂 crypto-scraper
├── README.md
├── cryptocoinmarketcap.csv
├── output.json
├── scraper.go
└── scraper_test.go
Run each command line-by-line to set up the project
$ git clone git@github.com:uyennguyen16900/crypto-scraper.git
$ cd crypto-scraper
$ git remote rm origin
$ git remote add origin git@github.com:YOUR_GITHUB_USERNAME/crypto-scraper.git
To execute the Go program, write go run
followed by the name of the file.
$ go run scraper.go
To execute the test, run
$ go tests
To execute all benchmarks within the package, run
$ go test -bench=.