寫入日誌:json
首先個人爬蟲 name= articlescrapy
scrapy crawl article -s LOG_FILE=wiki.log日誌
輸出爲不一樣格式:xml
scrapy crawl article -o articles.csv -t csvcsv
scrapy crawl article -o articles.json -t json
scrapy crawl article -o articles.xml -t xml