According to [scrapy docs](https://scrapy.readthedocs.org/en/latest/topics/item-pipeline.html?highlight=pipeline#writing-your-own-item-pipeline):
>Each item pipeline component is a single Python class that must implement the following method:
>process_item(item, spider) ...

So, it's a just a contract, spider param is not used in the tutorial.