Hi,
Thanks for your help with this. The first sentence here
http://doc.scrapy.org/topics/item-pipeline.html says
"After an item has been scraped by a spider it is sent to the Item
Pipeline which process it through several components that are executed
sequentially."
So, I didn't have to do anything :) The Pipeline opens the items.cvs
and pastes the scraped data in there. Next, I'll use the File Export
Pipeline with csv.
On Nov 20, 12:52 pm, Pablo Hoffman <
pablohoff...@gmail.com> wrote:
> On Fri, Nov 20, 2009 at 08:39:04AM -0800, Zeynel wrote:
> > When I run the spider in the command prompt with
>
> > python scrapy-ctl.py crawl
whitecase.com
>
> > I see the FirmItem in the return items:
>
> > [
whitecase.com] INFO: Passed FirmItem(title=[u'White & Case LLP -
> > Lawyers - Rachel B. Wagner '])
>
> > but where is this item? How do I get it and put it into a file?
>
> By writing an item pipeline to do that:
http://doc.scrapy.org/topics/item-pipeline.html
>
> You can use the builtin File Export Pipeline for that:
http://doc.scrapy.org/topics/item-pipeline.html#module-scrapy.contrib...