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:
2
main.py
2
main.py
@@ -93,7 +93,7 @@ def download_and_parse():
|
||||
brand_raw = row[9] # col J
|
||||
brand = str(brand_raw) if brand_raw is not None else ""
|
||||
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 ""
|
||||
description = re.sub(r'\s*\(\d+\).*$', '', raw_desc).strip()
|
||||
parsed.append(
|
||||
|
||||
Reference in New Issue
Block a user