Actor picture

Sephora Scraper

autofacts/sephora

Sephora scraper to fetch product or products of category.

Free trial for 7 days

Then $40/month

No credit card required now

Author's avatarAutofactor
  • Modified
  • Users42
  • Runs18,641
Actor picture
Sephora Scraper

Free trial for 7 days

Then $40/month

Sephora Scraper provide a way to crawl product details of site Sephora.

ChangeLog

29/10/2022

  • add ca/en, ca/fr region support
  • thrown an error when no sku found for product

Features

  1. Support fetch products of category;
  2. Support fetch product detail with prices,descriptions,images and sku info;

The price values are multiplied by 100 to avoiding floating point calculations.

TODO

  1. Support fetch product video detail.
  2. Support fetch product reviews.

Input Parameters

The input of this scraper shoule be JSON formated. Fields are:

Field Type Description
startUrls Array Start URLs of Sephora site to start the scraper. Category page, product page urls are all supported.
proxy Object Select proxies to be used by your crawler.
maxConcurrency Object Actor running max concurrency, which helps you to not getting blocked.

Here is the example:

{
  "startUrls": [
    { "url": "https://www.sephora.com/shop/eyeshadow-palettes" }
  ],
  "proxy": { "useApifyProxy": true },
  "maxConcurrency": 5
}

Input Examples

  • fetch products of category
{
  "startUrls": [
    { "url": "https://www.sephora.com/shop/mascara" }
  ],
  "proxy": { "useApifyProxy": true }
}
  • fetch product detail
{
  "startUrls": [
    { "url": "https://www.sephora.com/product/make-no-mistake-foundation-concealer-stick-P420440?skuId=1887520&icid2=products%20grid:p420440" }
  ],
  "proxy": { "useApifyProxy": true }
}

Data storage

Sephora scraper stores the product data to default data set in JSON format.

{
  "source": {
    "id": "P420440",
    "crawlUrl": "https://www.sephora.com/product/make-no-mistake-foundation-concealer-stick-P420440?skuId=1887520&icid2=products%20grid:p420440",
    "canonicalUrl": "https://www.sephora.com/product/make-no-mistake-foundation-concealer-stick-P420440",
    "retailer": "SEPHORA",
    "currency": "USD"
  },
  "brand": "SEPHORA COLLECTION",
  "title": "Make No Mistake Foundation & Concealer Stick",
  "description": "<b>Coverage:</b><br>&#10004; Medium<br><br><b>Skin type:</b><br>&#10004; Combination<br>&#10004; Oily<br><br><b>Finish:</b><br>&#10004; Matte<br><br><b>What it is:</b><br> A medium- to full-coverage foundation and concealer stick with a natural matte finish.<br><br><b>What it does:</b><br> This two-in-one multitasker can be used as both foundation and concealer. The creamy formula does not settle into fine lines and wrinkles, and the stick format is perfect for easy on-the-go application.<br><br><b>What else you need to know:</b><br>This product is noncomedogenic and is not tested on animals.<br><br><b>Ingredient Note: </b>\n<br>All Sephora Collection products comply with the most rigorous international laws on product safety&#151;going beyond satisfying European and US Cosmetics regulations. They also satisfy the strictest internal requirements of development, quality, traceability, and safety, and lead by example with a Restricted Substance List that excludes more than 1,400 substances.",
  "categories": [
    "Makeup",
    "Face",
    "Foundation"
  ],
  "options": [
    {
      "type": "Color",
      "values": [
        {
          "id": "3 Beechwood",
          "name": "3 Beechwood",
          "icon": "https://www.sephora.com/productimages/sku/s1887405+sw.jpg"
        },
        {
          "id": "15 Mahogany",
          "name": "15 Mahogany",
          "icon": "https://www.sephora.com/productimages/sku/s1887520+sw.jpg"
        },
        {
          "id": "16 Ebony",
          "name": "16 Ebony",
          "icon": "https://www.sephora.com/productimages/sku/s1887538+sw.jpg"
        }
      ]
    },
    {
      "type": "Size",
      "values": [
        {
          "id": "0.41 oz/ 11.6 g",
          "name": "0.41 oz/ 11.6 g"
        }
      ]
    }
  ],
  "variants": [
    {
      "id": "1887405",
      "sku": "1887405",
      "price": {
        "current": 800,
        "original": 2000,
        "stockStatus": "OutOfStock"
      },
      "options": [
        "3 Beechwood",
        "0.41 oz/ 11.6 g"
      ]
    },
    {
      "id": "1887520",
      "sku": "1887520",
      "price": {
        "current": 800,
        "original": 2000,
        "stockStatus": "InStock"
      },
      "options": [
        "15 Mahogany",
        "0.41 oz/ 11.6 g"
      ]
    },
    {
      "id": "1887538",
      "sku": "1887538",
      "price": {
        "current": 800,
        "original": 2000,
        "stockStatus": "InStock"
      },
      "options": [
        "16 Ebony",
        "0.41 oz/ 11.6 g"
      ]
    }
  ],
  "medias": [
    {
      "type": "Image",
      "url": "https://www.sephora.com/productimages/sku/s1887405-main-zoom.jpg?pb=2020-03-sephora-value-2020",
      "variantIds": [
        "1887405"
      ]
    },
    {
      "type": "Image",
      "url": "https://www.sephora.com/productimages/product/p420440-av-01-zoom.jpg",
      "alt": "SEPHORA COLLECTION Make No Mistake Foundation & Concealer Stick Image 2",
      "variantIds": [
        "1887405",
        "1887520",
        "1887538"
      ]
    },
    {
      "type": "Image",
      "url": "https://www.sephora.com/productimages/sku/s1887520-main-zoom.jpg?pb=2020-03-sephora-value-2020",
      "variantIds": [
        "1887520"
      ]
    },
    {
      "type": "Image",
      "url": "https://www.sephora.com/productimages/product/p420440-av-01-zoom.jpg",
      "alt": "SEPHORA COLLECTION Make No Mistake Foundation & Concealer Stick Image 2",
      "variantIds": [
        "1887405",
        "1887520",
        "1887538"
      ]
    },
    {
      "type": "Image",
      "url": "https://www.sephora.com/productimages/sku/s1887538-main-zoom.jpg?pb=2020-03-sephora-value-2020",
      "variantIds": [
        "1887538"
      ]
    },
    {
      "type": "Image",
      "url": "https://www.sephora.com/productimages/product/p420440-av-01-zoom.jpg",
      "alt": "SEPHORA COLLECTION Make No Mistake Foundation & Concealer Stick Image 2",
      "variantIds": [
        "1887405",
        "1887520",
        "1887538"
      ]
    }
  ],
  "stats": {
    "reviewCount": 749,
    "rating": 3.9306,
    "lovesCount": 61136
  }
}

Industries

See how Sephora Scraper is used in industries around the world