Can I know where you are writing this return thing??

On Saturday, 25 April 2015 20:03:17 UTC+5:30, crawler wrote:
>
>
> def process_item(self, item, spider):
> if item.get("ImageUrl", None):
> log.msg("this item is contains image url", spider=spider)
> return super(filterPipeline, self).process_item(item, spider)
> else:
> return item
>
>
> the exception:
> return super(sqlResumePipeline, self).process_item(item, spider)
> exceptions.AttributeError: 'super' object has no attribute 'process_item'
>
> hope someone help me
>

-- 
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