web-scraping-example

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2014 License: MIT Imports: 12 Imported by: 0

README

web-scraping-example Go (golang)

Build Status

Install

$ go get github.com/kyokomi/web-scraping-example

Usage

$ mkdir -p ~/.web-scraping-example
$ cd ~/.web-scraping-example
$ curl -O https://raw.githubusercontent.com/kyokomi/web-scraping-example/master/example/config.json
config.json Sample
{
    "keyword": "ラブライブ",
    "outputDir": "images",
    "pageSettings": [
        {
            "baseUrl": "http://blog.livedoor.jp/nizigami/search",
            "query": "?q=",
            "findKey": ".article .article-body .article-continue a",
            "imgFindKey": ".t_b img"
        }
    ]
}

Output

image in the outputDir of config.json

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL