Traceback (most recent call last): File "/home/ubuntu/PriceScraper/src/ScraperBilla.py", line 20, in scrape r = ScraperBilla.parse_item(j).__dict__ File "/home/ubuntu/PriceScraper/src/ScraperBilla.py", line 28, in parse_item i.category = item["category"] KeyError: 'category' During handling of the above exception, another exception occurred: 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 22, in scrape raise Exception(f"Invalid item:\n{j}") Exception: Invalid item: {'amount': '90', 'bundleInfo': '', 'conversionFactor': 1.0, 'descriptionLong': '', 'descriptionShort': 'ŠETŘÍME JÍDLEM: Somat All in 1 Lemon & Lime tablety do automatické myčky na nádobí 90 x 17,6g', 'inPromotion': True, 'images': ['https://images.cdn.europe-west1.gcp.commercetools.com/1df039f1-4705-4f79-aa90-cf907a6ec063/82-359443-0447053503-gKu3Apzc.jpg'], 'name': 'ŠETŘÍME JÍDLEM: Somat All in 1 Lemon & Lime tablety do automatické myčky na nádobí 90 x 17,6g', 'packageLabel': 'Kus', 'packageLabelKey': 'st', 'parentCategories': [], 'price': {'baseUnitLong': 'Kus', 'baseUnitShort': 'ks', 'basePriceFactor': '1', 'crossed': 79900, 'discountPercentage': -50, 'regular': {'perStandardizedQuantity': 443, 'promotionValue': 79900, 'promotionValuePerStandardizedQuantity': 887, 'tags': ['pt-abverkauf'], 'value': 39950}}, 'productId': 'c38a38a5-2e9a-4444-aecc-90b4fa0f08a5', 'medical': False, 'sku': '82-359443', 'slug': 'setrime-jidlem-somat-all-in-1-lemon-und-lime-tablety-do-automaticke-mycky-na-nadobi-90-x-176g-82359443', 'upsellSku': '', 'published': True, 'purchased': False, 'volumeLabelKey': 'st', 'volumeLabelLong': 'Kus', 'volumeLabelShort': 'ks', 'weight': 1.62, 'weightArticle': False, 'weightPieceArticle': False, 'weightPerPiece': 0, 'alcoholByVolume': '', 'brandMarketing': '', 'countryOfOrigin': 'Německo', 'features': '', 'keywordSearch': '', 'meatBorn': '', 'meatButchered': '', 'meatSlaughtered': '', 'meatRaised': '', 'nappySize': '', 'nutIngredients': '', 'productMarketing': '', 'regulatedProductName': '', 'storageAndUsageStatements': 'Uchovávejte produkt v 5–40°C', 'storageType': 'Suché', 'telephoneHelpline': '', 'wineColour': '', 'wineType': ''}