# crawl_douban_movie **Repository Path**: netcrawler/crawl_douban_movie ## Basic Information - **Project Name**: crawl_douban_movie - **Description**: Go爬取豆瓣电影 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-09-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # crawl_douban_movie Go爬取豆瓣电影 ## How to run ### Required - Mysql - Redis ### Ready Create a **go database** and import [SQL](https://github.com/jcops/crawl_douban_movie/blob/master/sql/movie.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](https://github.com/jcops/crawl_douban_movie/blob/master/sql/01.png) ![1556892472701](https://github.com/jcops/crawl_douban_movie/blob/master/sql/02.png)