burrbd / scraper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Product scraper

Application follows and scrapes products from the following URL: http://hiring-tests.s3-website-eu-west-1.amazonaws.com/2015_Developer_Scrape/5_products.html

Application uses https://github.com/PuerkitoBio/goquery project for parsing HTML contents.

Installation

  1. git clone https://github.com/burrbd/scraper.git
  2. cd into project dir
  3. Run go get && go build

Usage

Run ./scraper to print results to stdout, or ./scraper > output.json to print results to file.

Tests can be run with go test.

About


Languages

Language:Go 100.0%