1,安裝json
sudo easy_install scrapyscrapy
2,建立scrapy工程it
scrapy createproject projectnamesudo
3,運行scrapy工程
scrapy crawl "name" -o items.json -t json