You can't do that in a pipeline, you'd have to write a spider middleware
instead.


On Sun, Mar 30, 2014 at 4:58 PM, <[email protected]> wrote:

> Hi,
>
> in my data cleansing and post-processing (which takes place in pipelines)
> I sometimes meet a situation where it's suitable to split an item into
> several separate ones. Doing this in spider would be very difficult, thus I
> really need to do it in pipelines. However, process_item returns only one
> value, it's not a generator. What would be the best way to achieve
> splitting an item in a pipeline?
>
> Thanks,
> Honza
>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to