As I started to learn scrapy, i have come accross a requirement to dynamically build the Item attributes. I\'m just scraping a webpage which has a table structure and I wanted t
Use this class:
class Arbitrary(Item): def __setitem__(self, key, value): self._values[key] = value self.fields[key] = {}