def getBase(self, response): base = LrmiBase.getBase(self, response) #base.replace_value('thumbnail', self.url + '/media/' + response.meta['item'].get('image')) base.replace_value( 'thumbnail', self.url + response.xpath('//img[@class="content-info__image"]/@src').get()) base.replace_value('type', self.getType(response)) return base
def getBase(self, response): base = LrmiBase.getBase(self, response) base.replace_value("thumbnail", None) return base