Skip to content

jcops/crawl_douban_movie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crawl_douban_movie

Go爬取豆瓣电影

How to run

Required

  • Mysql
  • Redis

Ready

Create a go database and import SQL

创建一个 test库,然后导入sql,创建表!

Conf

You should modify conf/app.conf

[database]
Type = mysql
User = root
Password =123
Host = 127.0.0.1:3306
Name = test
[redis]
Addr=127.0.0.1:6379
Password=

Installation

yum install go -y 
export GOPROXY=https://goproxy.io
go get github.com/jcops/crawl_douban_movie
cd $GOPATH/src/github.com/jcops/crawl_douban_movie
go build 

效果

1556892498059

1556892472701

About

Go爬取豆瓣电影

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages