安装使用 安装go与设置gopath clone项目到gopath目录 安装依赖 go get github.com/go-sql-driver/mysql go get github.com/siddontang/go/log go get github.com/garyburd/redigo/redis go get github.com/Unknwon/goconfig 修改config.ini配置文件中你自己的MySQL和Redis配置(可以不配Redis),Redis不配或者错误会默
python 通过scrapy框架,根据关键字爬取百度和bing大图 注意: 1.修改commands/crawl.py run函数为: def run(self, args, opts): if len(args) 1: # raise UsageError("running 'scrapy crawl' with more than one spider is no longer supported") # spname = args[0] for spname in args: sel