fix: read type from col I (index 8) not col G

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Malin
2026-03-23 12:31:02 +01:00
parent 2dcdb00a21
commit afd63b4aa4

View File

@@ -93,7 +93,7 @@ def download_and_parse():
brand_raw = row[9] # col J brand_raw = row[9] # col J
brand = str(brand_raw) if brand_raw is not None else "" brand = str(brand_raw) if brand_raw is not None else ""
min_box_raw = row[10] # col K min_box_raw = row[10] # col K
type_raw = row[6] # col G type_raw = row[8] # col I
product_type = re.sub(r'^\d+\.', '', str(type_raw)).strip() if type_raw is not None else "" product_type = re.sub(r'^\d+\.', '', str(type_raw)).strip() if type_raw is not None else ""
description = re.sub(r'\s*\(\d+\).*$', '', raw_desc).strip() description = re.sub(r'\s*\(\d+\).*$', '', raw_desc).strip()
parsed.append( parsed.append(