安装框架
pip install scrapy
创建项目
scrapy startproject tutorial
爬取
scrapy crawl douban_spider
保存
scrapy crawl douban_spider -o test.json
或
scrapy crawl douban_spider -o test.csv
scrapy
最新推荐文章于 2022-03-19 13:16:40 发布
安装框架
pip install scrapy
创建项目
scrapy startproject tutorial
爬取
scrapy crawl douban_spider
保存
scrapy crawl douban_spider -o test.json
或
scrapy crawl douban_spider -o test.csv