Traceback (most recent call last): File "/home/ubuntu/PriceScraper/src/main.py", line 16, in s.scrape() File "/home/ubuntu/PriceScraper/src/ScraperBilla.py", line 18, in scrape append_record(ItemBilla(j).__dict__) File "/home/ubuntu/PriceScraper/src/ItemBilla.py", line 7, in __init__ self.category = item["category"] KeyError: 'category'