Skip to content

Commit

Permalink
[shopify] support windsorstore.com (#1793)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Aug 28, 2021
1 parent 95157e0 commit 4e9f8fe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/supportedsites.md
Original file line number Diff line number Diff line change
Expand Up @@ -1083,5 +1083,11 @@ Consider all sites to be NSFW unless otherwise known.
<td>Collections, Products</td>
<td></td>
</tr>
<tr>
<td>Windsorstore</td>
<td>https://www.windsorstore.com/</td>
<td>Collections, Products</td>
<td></td>
</tr>
</tbody>
</table>
9 changes: 7 additions & 2 deletions gallery_dl/extractor/shopify.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ def products(self):
"pattern": r"(?:www\.)?fashionnova\.com",
},
"omgmiamiswimwear": {
"root": "https://www.omgmiamiswimwear.com"
"root": "https://www.omgmiamiswimwear.com",
},
"windsorstore": {
"root": "https://www.windsorstore.com",
},
})

Expand All @@ -62,11 +65,11 @@ class ShopifyCollectionExtractor(ShopifyExtractor):
("https://www.fashionnova.com/collections/mini-dresses", {
"range": "1-20",
"count": 20,
"archive": False,
}),
("https://www.fashionnova.com/collections/mini-dresses/?page=1"),
("https://www.fashionnova.com/collections/mini-dresses#1"),
("https://www.omgmiamiswimwear.com/collections/fajas"),
("https://www.windsorstore.com/collections/dresses-ball-gowns"),
)

def metadata(self):
Expand Down Expand Up @@ -100,6 +103,8 @@ class ShopifyProductExtractor(ShopifyExtractor):
"count": 5,
}),
("https://www.fashionnova.com/collections/flats/products/name"),
("https://www.windsorstore.com/collections/accessories-belts/products"
"/rhine-buckle-dbl-o-ring-pu-strap-belt-073010158001"),
)

def products(self):
Expand Down

0 comments on commit 4e9f8fe

Please sign in to comment.