scrapy爬虫
scrapy startproject 项目名
scrapy genspider itcast “itcast.cn”
scrapy crawl 项目名 -------------启动爬虫
scrapy-redis分布式爬虫启动项目
scrapy runspider 项目名.py
redis-cli -h windows端ip
lpush 项目名 目标网址
scrapy crawl itcast -o teachers.json
scrapy crawl itcast -o teachers.jsonl
scrapy crawl itcast -o teachers.csv
scrapy crawl itcast -o teachers.xml
scrapy genspider -t crawl Itcast ‘itcast.cn’
scrapy crawl 项目名 --nolog