Homework 7: Web Scraping


Use web scraping via the goquery package to extract data from web pages. You will almost certainly need to refer to the goquery documentation.


Complete the exercises in the hw7.go code file stub.

Make sure that your code does not result in hanging goroutines or abusive web scraping behavior. Static analysis tools like go vet may help.

Be sure that your code is run through gofmt and compiles successfully before submitting. You will be learning many Go best practices throughout the semester that you will be expected to follow.


You should submit your hw7.go to Canvas when you are done.

NOTE: Please submit only the completed hw7.go file, nothing else.