scrapy crawl test -o test123.csv
How can I call the Output filename from code i.e I would like to use the filename inputed in terminal in spi
spi
You can use self.settings.attributes["FEED_URI"].value in your spider to get output file name.
self.settings.attributes["FEED_URI"].value