Skip to content

ErikJiang/book_crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

book_crawler

豆瓣图书TOP250榜单数据抓取

本项目仅供学习参考


1. 依赖项安装

go get github.com/jinzhu/gorm
go get github.com/PuerkitoBio/goquery

2. 创建数据库并配置model中的数据库连接参数

CREATE DATABASE book_crawler DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;

3. 运行项目

go run main.go

Releases

No releases published

Packages

No packages published

Languages