I am using the below code to run my crawler from a python script:
import scrapy
from scrapy.crawler import CrawlerProcess
process = CrawlerProcess()
process.crawl(MySpider)
process.start() # the script will block here until the crawling is finished
where my MySpider returns an object.
How can I get the return value from this? Please keep in mind this is Scrapy 1.0. All the examples I found are for older versions of Scrapy.
The above code is from : http://doc.scrapy.org/en/latest/topics/practices.html#run-scrapy-from-a-script