[shopify] support omgmiamiswimwear.com (closes #1280)

This commit is contained in:
Mike Fährmann
2021-04-13 03:05:23 +02:00
parent 224b883ff4
commit 086925e685
3 changed files with 15 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ BASE_PATTERN = ShopifyExtractor.update({
"root": "https://www.fashionnova.com",
"pattern": r"(?:www\.)?fashionnova\.com",
},
"omgmiamiswimwear": {
"root": "https://www.omgmiamiswimwear.com"
},
})
@@ -74,6 +77,7 @@ class ShopifyCollectionExtractor(ShopifyExtractor):
}),
("https://www.fashionnova.com/collections/mini-dresses/?page=1"),
("https://www.fashionnova.com/collections/mini-dresses#1"),
("https://www.omgmiamiswimwear.com/collections/fajas"),
)
def metadata(self):
@@ -120,6 +124,10 @@ class ShopifyProductExtractor(ShopifyExtractor):
"pattern": r"https?://cdn\d*\.shopify.com/",
"count": 3,
}),
("https://www.omgmiamiswimwear.com/products/la-medusa-maxi-dress", {
"pattern": r"https://cdn\.shopify\.com/s/files/1/1819/6171/",
"count": 5,
}),
("https://www.fashionnova.com/collections/flats/products/name"),
)