[shopify] cosmetic changes in shopify.py (#181)
Glanced over the commits, randomly spotted some minor things.
This commit is contained in:
@@ -14,7 +14,7 @@ import re
|
|||||||
|
|
||||||
|
|
||||||
class ShopifyExtractor(SharedConfigMixin, Extractor):
|
class ShopifyExtractor(SharedConfigMixin, Extractor):
|
||||||
"""Base class for shopify extractors"""
|
"""Base class for Shopify extractors"""
|
||||||
basecategory = "shopify"
|
basecategory = "shopify"
|
||||||
filename_fmt = "{product[title]}_{num:>02}_{id}.{extension}"
|
filename_fmt = "{product[title]}_{num:>02}_{id}.{extension}"
|
||||||
archive_fmt = "{id}"
|
archive_fmt = "{id}"
|
||||||
@@ -89,7 +89,7 @@ class ShopifyProductExtractor(ShopifyExtractor):
|
|||||||
|
|
||||||
|
|
||||||
def generate_extractors():
|
def generate_extractors():
|
||||||
"""Dynamically generate Extractor classes for FoOlSlide instances"""
|
"""Dynamically generate Extractor classes for Shopify instances"""
|
||||||
symtable = globals()
|
symtable = globals()
|
||||||
extractors = config.get(("extractor", "shopify"))
|
extractors = config.get(("extractor", "shopify"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user