Enable pipelines in your settings.py
ITEM_PIPELINES = {
'project_folder.pipelines.MyPipeline': 100
}
Then write this code in items.py
# -*- coding: utf-8 -*-
from scrapy import Item, Field
from collections import OrderedDict
class DynamicItem(Item):
def __setitem__(self, key, v...