[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

@@ -1011,5 +1011,11 @@ Consider all sites to be NSFW unless otherwise known.
<td>Collections, Products</td>
<td></td>
</tr>
<tr>
<td>Omg Miami Swimwear</td>
<td>https://www.omgmiamiswimwear.com/</td>
<td>Collections, Products</td>
<td></td>
</tr>
</tbody>
</table>

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"),
)

View File

@@ -58,6 +58,7 @@ CATEGORY_MAP = {
"kissmanga" : "KissManga",
"lineblog" : "LINE BLOG",
"livedoor" : "livedoor Blog",
"omgmiamiswimwear": "Omg Miami Swimwear",
"mangadex" : "MangaDex",
"mangafox" : "Manga Fox",
"mangahere" : "Manga Here",