I have many image pipelines, but I want to use different conservation methods for different spiders.
I know that in other pipelines I can use spider.name , but how can I get this in the image scroll
class MyImagesPipeline(ImagesPipeline): if spider.name in ['first']: def get_media_requests(self, item, info):
source share