mirror of
https://github.com/Coding-Doctor-Omar/ShopExtract.git
synced 2026-06-07 07:55:18 +02:00
Fix product type typo in line 199.
This commit is contained in:
parent
722185d3e3
commit
3ddd8b0ca1
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -196,7 +196,7 @@ def parse_product(product: dict) -> dict:
|
|||
parsed_product["Body (HTML)"] = product.get("body_html", "")
|
||||
parsed_product["Vendor"] = product["vendor"]
|
||||
parsed_product["Product Category"] = ""
|
||||
parsed_product["Product Category"] = product.get("product_type", "")
|
||||
parsed_product["Type"] = product.get("product_type", "")
|
||||
parsed_product["Tags"] = f'"{', '.join(product['tags'])}"'
|
||||
parsed_product["Published"] = True
|
||||
main_images = [image["src"] for image in product["images"]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue