log.start(logfile='results.log', loglevel=log.DEBUG, crawler=crawler,
    logstdout=False)
reactor.run()
with open('results.log', 'r') as f:
    result = f.read()
print(result)
Confused about running Scrapy from within a Python script