I would like to get the same result as this command line : scrapy crawl linkedin_anonymous -a first=James -a last=Bond -o output.json
My script is as follows :
pass the spider arguments on the process.crawl method:
process.crawl
process.crawl(spider, input='inputargument', first='James', last='Bond')