Thanks,

by the time I wrote the patch I was still very beginner with Scrapy and was
under pressure by my company to have a quick solution for a specific
spider. Sad truth .. I already rewrote using process_spider_output using
the spider middleware class.

Thanks and sorry for the inconvenience.


2013/12/31 Pablo Hoffman <[email protected]>

> You should be able to do that by implementing process_spider_output() in a
> spider middleware.
>
> On Mon, Nov 25, 2013 at 3:18 PM, Tiago Natel de Moura <
> [email protected]> wrote:
>
>>
>>
>> ---------- Forwarded message ----------
>> From: Tiago Natel de Moura <[email protected]>
>> Date: 2013/11/21
>> Subject: [PATCH] Added items_scraped signal
>> To: [email protected]
>>
>>
>> Hey,
>>
>> I needed to run a function when all items generated by parsers are
>> executed, so I created a new signal called items_scraped, which is sent by
>> core/engine.py only when the entire list of items is processed. The patch
>> is in attachment.
>>
>> If this is not the best way to solve this problem, how to solve it
>> without the need for a patch?
>>
>> Thanks!
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "scrapy-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/scrapy-users.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "scrapy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to