From fcf7030b85df707f5e9200d68bb10190bee5692f Mon Sep 17 00:00:00 2001 From: enduser420 <91022934+enduser420@users.noreply.github.com> Date: Wed, 1 Feb 2023 00:24:41 +0530 Subject: [PATCH] [shopify] support ohpolly.com --- docs/supportedsites.md | 6 ++++++ gallery_dl/extractor/shopify.py | 7 +++++++ scripts/supportedsites.py | 1 + 3 files changed, 14 insertions(+) diff --git a/docs/supportedsites.md b/docs/supportedsites.md index af65e202fd..25624f86d7 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -1401,6 +1401,12 @@ Consider all sites to be NSFW unless otherwise known. Collections, Products + + Oh Polly + https://www.ohpolly.com/ + Collections, Products + + Omg Miami Swimwear https://www.omgmiamiswimwear.com/ diff --git a/gallery_dl/extractor/shopify.py b/gallery_dl/extractor/shopify.py index f2bf3cb705..278ad147f4 100644 --- a/gallery_dl/extractor/shopify.py +++ b/gallery_dl/extractor/shopify.py @@ -63,6 +63,10 @@ def products(self): "root": "https://modcloth.com", "pattern": r"modcloth\.com", }, + "ohpolly": { + "root": "https://www.ohpolly.com", + "pattern": r"(?:www\.)?ohpolly\.com", + }, "omgmiamiswimwear": { "root": "https://www.omgmiamiswimwear.com", "pattern": r"(?:www\.)?omgmiamiswimwear\.com", @@ -102,6 +106,7 @@ class ShopifyCollectionExtractor(ShopifyExtractor): ("https://loungeunderwear.com/collections/apparel"), ("https://michaels.com.au/collections/microphones"), ("https://modcloth.com/collections/shoes"), + ("https://www.ohpolly.com/collections/dresses-mini-dresses"), ("https://www.omgmiamiswimwear.com/collections/fajas"), ("https://pinupgirlclothing.com/collections/evening"), ("https://www.raidlondon.com/collections/flats"), @@ -141,6 +146,8 @@ class ShopifyProductExtractor(ShopifyExtractor): ("https://michaels.com.au/collections/audio/products" "/boya-by-wm4-pro-k5-2-4ghz-mic-android-1-1-101281"), ("https://modcloth.com/collections/shoes/products/heidii-brn"), + (("https://www.ohpolly.com/products/edonia-ruched-triangle-cup" + "-a-line-mini-dress-brown")), ("https://www.omgmiamiswimwear.com/products/la-medusa-maxi-dress", { "pattern": r"https://cdn\.shopify\.com/s/files/1/1819/6171/", "count": 5, diff --git a/scripts/supportedsites.py b/scripts/supportedsites.py index 5a2014c58e..da0a948270 100755 --- a/scripts/supportedsites.py +++ b/scripts/supportedsites.py @@ -66,6 +66,7 @@ "kemonoparty" : "Kemono", "lineblog" : "LINE BLOG", "livedoor" : "livedoor Blog", + "ohpolly" : "Oh Polly", "omgmiamiswimwear": "Omg Miami Swimwear", "mangadex" : "MangaDex", "mangafox" : "Manga Fox",