def get_media_requests(self, item, info):
        try:
            img_elem = info.spider.scraper.get_image_elem()
            if img_elem.scraped_obj_attr.name in item and item[img_elem.scraped_obj_attr.name]:
                if not hasattr(self, 'conf'):
                    self.conf = info.spider.conf
                return Request(item[img_elem.scraped_obj_attr.name])
        except (ScraperElem.DoesNotExist, __HOLE__):
            pass
dataset/ETHPy150Open holgerd77/django-dynamic-scraper/dynamic_scraper/pipelines.py/DjangoImagesPipeline.get_media_requests