Scrapy, a fast high-level web crawling & scraping framework for Python.
scrapyd.launcher: make SCRAPY_LOG_FILE and SCRAPY_FEED_URI optional
Pablo Hoffmanb33303779a52
diff --git a/scrapyd/launcher.py b/scrapyd/launcher.pyindex cac5ccf7e..602554ea9 100644--- a/scrapyd/launcher.py+++ b/scrapyd/launcher.py@@ -67,8 +67,8 @@ class ScrapyProcessProtocol(protocol.ProcessProtocol):self.start_time = datetime.now()self.end_time = Noneself.env = env- self.logfile = env['SCRAPY_LOG_FILE']- self.itemsfile = env['SCRAPY_FEED_URI']+ self.logfile = env.get('SCRAPY_LOG_FILE')+ self.itemsfile = env.get('SCRAPY_FEED_URI')self.deferred = defer.Deferred()def outReceived(self, data):