From fb8b3642e5471c1a58b1257a91824570b41471ba Mon Sep 17 00:00:00 2001 From: va1is Date: Thu, 2 Oct 2025 13:13:05 +0300 Subject: [PATCH] =?UTF-8?q?IKEA=5Ffix-=D0=95=D1=81=D0=BB=D0=B8=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=D0=B0=20=D0=BD=D0=B5=20=D0=B1?= =?UTF-8?q?=D1=8B=D0=BB=D0=BE=20-=20=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D1=8B?= =?UTF-8?q?=D0=B2=D0=B0=D0=BB=D1=81=D1=8F=20=D1=86=D0=B2=D0=B5=D1=82=20?= =?UTF-8?q?=D0=B2=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Парсер_IKEA/main_win proxy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Парсер_IKEA/main_win proxy.py b/Парсер_IKEA/main_win proxy.py index 6103766..eee5199 100644 --- a/Парсер_IKEA/main_win proxy.py +++ b/Парсер_IKEA/main_win proxy.py @@ -551,7 +551,7 @@ def _split_color_size(text: str): parts = [p.strip() for p in text.split(",", 1)] if len(parts) == 2: return parts[0], parts[1] - return "", parts[0] + return parts[0], "" def _ceil_price(v): try: @@ -591,7 +591,8 @@ def build_variant(row: dict) -> dict: variant = { "status_id": 1, - "color": (color.capitalize() if color else "none"), + #"color": (color.capitalize() if color else "none"), + "color": color, "sku": sku, "size": size, "cost": cost,