title: Use different collections in mongodb depending on item type
body: <p>I am crawling and scraping websites with <a href="http://scrapy.org/" rel="nofollow">Scrapy</a> and saving the items to <a href="http://www.mongodb.org/" rel="nofollow">MongoDB</a> using the item pipeline from <a href="https://github.com/sebdah/scrapy-mongodb" rel="nofollow">scrapy-mongodb</a>. Doing this how can I save items of different types to different collections? Like e.g. items of type <code>PersonItem</code> to collection <code>persons</code> and items of type <code>BookItem</code> to collection <code>books</code>? If this is not possible using the item pipeline can you think of another solution to this?</p>