diff --git a/shopify.py b/shopify.py index c35d397..be21e05 100644 --- a/shopify.py +++ b/shopify.py @@ -130,7 +130,7 @@ def get_image(variant_id): def extract_products(url, path, collections=None): - with open(path, 'w') as f: + with open(path, 'w', encoding='utf-8') as f: writer = csv.writer(f) writer.writerow(['Code', 'Collection', 'Category', 'Name', 'Variant Name',