VOOZH about

URL: https://apify.com/mynewhome/macys

โ‡ฑ Macys ยท Apify


Pricing

from $0.01 / 1,000 results

Go to Apify Store

Macys scraper

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Aida Sarre

Aida Sarre

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

0

Monthly active users

6 months ago

Last modified

Share

JavaScript Crawlee & CheerioCrawler Actor Template

This template example was built with Crawlee to scrape data from a website using Cheerio wrapped into CheerioCrawler.

Quick Start

Once you've installed the dependencies, start the Actor:

$apify run

Once your Actor is ready, you can push it to the Apify Console:

apify login # first, you need to log in if you haven't already done so
apify push

Project Structure

.actor/
โ”œโ”€โ”€ actor.json # Actor config: name, version, env vars, runtime settings
โ”œโ”€โ”€ dataset_schena.json # Structure and representation of data produced by an Actor
โ”œโ”€โ”€ input_schema.json # Input validation & Console form definition
โ””โ”€โ”€ output_schema.json # Specifies where an Actor stores its output
src/
โ””โ”€โ”€ main.js # Actor entry point and orchestrator
storage/ # Local storage (mirrors Cloud during development)
โ”œโ”€โ”€ datasets/ # Output items (JSON objects)
โ”œโ”€โ”€ key_value_stores/ # Files, config, INPUT
โ””โ”€โ”€ request_queues/ # Pending crawl requests
Dockerfile # Container image definition

For more information, see the Actor definition documentation.

How it works

This code is a JavaScript script that uses Cheerio to scrape data from a website. It then stores the website titles in a dataset.

  • The crawler starts with URLs provided from the input startUrls field defined by the input schema. Number of scraped pages is limited by maxPagesPerCrawl field from the input schema.
  • The crawler uses requestHandler for each URL to extract the data from the page with the Cheerio library and to save the title and URL of each page to the dataset. It also logs out each result that is being saved.

What's included

  • Apify SDK - toolkit for building Actors
  • Crawlee - web scraping and browser automation library
  • Input schema - define and easily validate a schema for your Actor's input
  • Dataset - store structured data where each object stored has the same attributes
  • Cheerio - a fast, flexible & elegant library for parsing and manipulating HTML and XML
  • Proxy configuration - rotate IP addresses to prevent blocking

Resources

Creating Actors with templates

Getting started

For complete information see this article. In short, you will:

  1. Build the Actor
  2. Run the Actor

Pull the Actor for local development

If you would like to develop locally, you can pull the existing Actor from Apify console using Apify CLI:

  1. Install apify-cli

    Using Homebrew

    $brew install apify-cli

    Using NPM

    $npm-ginstall apify-cli
  2. Pull the Actor by its unique <ActorId>, which is one of the following:

    • unique name of the Actor to pull (e.g. "apify/hello-world")
    • or ID of the Actor to pull (e.g. "E2jjCZBezvAZnX8Rb")

    You can find both by clicking on the Actor title at the top of the page, which will open a modal containing both Actor unique name and Actor ID.

    This command will copy the Actor into the current directory on your local machine.

    $apify pull <ActorId>

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

You might also like

Macys Reviews Scraper

pintostudio/macys-reviews-scraper

This API retrieves data from macys product Reviews

Macys Scraper

lexis-solutions/macys-scraper

Macys.com scraper for US ecommerce: extract product prices, brands, sizes, colors, variants, availability and categories from Macys listings and product URLs for market research, catalog monitoring and pricing analytics.

๐Ÿ‘ User avatar

Lexis Solutions

16

Macys Product Search Scraper

ecomscrape/macys-product-search-scraper

Automate product data extraction from Macys.com including prices, availability, images, and specifications. Perfect for price monitoring, competitive analysis, inventory tracking, and e-commerce research across fashion, home goods, and beauty categories.

ecomscrape

2

Macys Products Bycategory

pintostudio/macys-products-bycategory

The Macys Products ByCategory actor is a powerful web scraping tool that extracts product information from Macy's e-commerce website by category.

12

Macys Similar Products

pintostudio/macys-similar-products

The Macys Similar Products Actor is a powerful web scraping tool that retrieves similar product recommendations from Macy's e-commerce platform.

Macys Store By Proximity

pintostudio/macys-store-by-proximity

Macys Store By Proximity is a powerful Apify actor that helps you find the nearest Macy's department store location based on geographic coordinates.

Macys Product Scraper

getdataforme/macys-product-scraper

Scrape product data from Macy's using the Macys Scraper Apify actor. Extract detailed information like product names, prices, images, descriptions, and SKUs from Macy's product pages. Automate your e-commerce data extraction with high accuracy and efficiency. Proxy support included.

17

Macys Products Details

pintostudio/macys-products-api

This API gives you instant access to product details, customer reviews, rich descriptions, news, and more. Stay ahead of trends, make informed decisions, and transform your business strategy.

14

Macys Product Details Scraper

ecomscrape/macys-product-details-scraper

Macy's Product Scraper automates extraction of comprehensive product details including pricing, availability, specifications, and reviews from Macy's.com. Efficiently collect e-commerce intelligence for competitive analysis, price monitoring, and market research across fashion, home goods.

ecomscrape

6

Macys News Articles

pintostudio/macys-news-articles

The Macy's News Articles Actor is a powerful Apify web scraping tool designed to extract press releases and news articles from Macy's official newsroom.