In Scrapy, I have a pipeline that does a whole bunch of work for each item it scrapes, I\'m looking to create a function that can be used to create an instance of the pipeli