Crawling data successfully but cannot scraped or write it into csv
问题 I have added a DOWNLOAD_DELAY = 2 and a COOKIES_ENABLED = False , my spider crawls the website but do not write the items in my CSV file. I don't think it's normal because when I don't add this two settings, everything is ok... Could somebody help me please? I call my spider with this line in my command prompt : scrapy crawl CDiscount -o items.csv Here is my spider: # -*- coding: utf-8 -*- # Every import is done for a specific use import scrapy # Once you downloaded scrapy, you have to import