Discover Packages
github.com/sim4life/fruit_scraping
command
module
Version:
v0.0.0-...-30c2775
Opens a new window with list of versions in this module.
Published: Sep 10, 2015
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
Fruit HTML scraping
This repo provides a basic script to scrape html doc and build JSON out of useful info present within.
###Instructions to run:
Download and install Golang sdk, if not already, from https://golang.org/dl/
Setup $GOPATH environment variable to some directory
On your terminal create the relevant directories and navigate to it by running the following command
$ mkdir -p $GOPATH/src/github.com/sim4life && cd $_
Now clone the repo in that directory by
$ git clone git@github.com :sim4life/fruit_scraping.git
Then download dependencies by
$ go get golang.org/x/net/publicsuffix
$ go get github.com/PuerkitoBio/goquery
$ go get github.com/djimenez/iconv-go
To run
$ go run fruitsJSON.go
To test
$ go test
I hope you enjoy the show.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.