I want to use scrapy in the following way
from scrapy.crawler import CrawlerProcess
process = CrawlerProcess({
'USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)' })
process.crawl(my_super_scraper)
process.start()
It works with my_super_scraper
, but I cannot figure out how to export to CSV. I cannot find it in the documentation either.