Putting scraped items in items.csv

119 views
Skip to first unread message

Zeynel

unread,
Nov 19, 2009, 11:16:10 PM11/19/09
to scrapy-users
Hello,

Thanks for the help with this project. Now that the spider works and I
see the scraped data in FirmItem items,

[whitecase.com] INFO: Passed FirmItem(title=[u'White & Case LLP -
Lawyers - Rachel B. Wagner '])

I want to put the scraped data in a csv file.

This section

http://doc.scrapy.org/intro/tutorial.html#storing-the-data-using-an-item-pipeline

explains how to put the scraped data into the file items.csv. But I am
not understanding it.

I've been running pipelines.py in IDLE, and it runs without error, but
the file is not getting populated with the item.

I put my files here

items.py
http://dpaste.org/fiSg/

pipelines.py
http://dpaste.org/HibR/

firm.spider.py
http://dpaste.org/swL2/

settings.py
http://dpaste.org/6pbN/

Can you help me understand the problem? Thanks again.
Reply all
Reply to author
Forward
0 new messages