Scrapy, a fast high-level web crawling & scraping framework for Python.
Place brackets on own lines with JsonItemExporter.
Patrick Connolly19a4a0adf953
diff --git a/scrapy/exporters.py b/scrapy/exporters.pyindex 360007c0f..d507bcf31 100644--- a/scrapy/exporters.py+++ b/scrapy/exporters.py@@ -100,10 +100,10 @@ class JsonItemExporter(BaseItemExporter):self.first_item = Truedef start_exporting(self):- self.file.write(b"[")+ self.file.write(b"[\n")def finish_exporting(self):- self.file.write(b"]")+ self.file.write(b"\n]")def export_item(self, item):if self.first_item: