/crawl-data

使用GO从网络上抓取图片

Primary LanguageGo

GO_CrawlData_MySQL

一个使用GO从网站抓取图片等数据,再将其存入数据库,并提供json接口。

数据抓取

使用 goquery - a little like that j-thing, only in Go

go get github.com/PuerkitoBio/goquery

数据库

使用Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's (golang) database/sql package

文档:http://godoc.org/github.com/go-sql-driver/mysql

go get github.com/go-sql-driver/mysql

GO Web框架

使用 martini Classy web framework for Go http://martini.codegangsta.io

go get github.com/go-martini/martini

About

博客:博客