def spider_opened(self, spider):
        file_to_save = open('exports/json/%s.json' % spider.name, 'w+b')
        self.files[spider] = file_to_save
        self.exporter = JsonItemExporter(file_to_save)
        self.exporter.start_exporting()
dataset/ETHPy150Open kirankoduru/arachne/arachne/pipelines.py/ExportJSON.spider_opened/original