parse-flyer-freshco

Extract structured grocery deal records from FreshCo flyer webpages into normalized JSON.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Joresti/grocery-hack --skill parse-flyer-freshco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parse-flyer-freshco
Source: https://github.com/Joresti/grocery-hack/tree/main/.claude/skills/parse-flyer-freshco
Command: npx skills add https://github.com/Joresti/grocery-hack --skill parse-flyer-freshco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FreshCo flyers are hard to convert into structured deal data because their product grid relies on Tailwind CSS utility classes and a dynamic “Load More” workflow.

Core Features & Use Cases

  • Structured deal extraction: Reads sale price, regular price, product name, size/unit info, and optional Scene+ / Member Price / PTS offer signals.
  • Grid-mode scraping workflow: Switches the flyer to the structured grid view, auto-clicks “Load More” until complete, and extracts products in one pass.
  • Output suitable for meal-planning pipelines: Produces a JSON array of normalized deal records with category and product_type classification, ready for matching to recipes.

Quick Start

Run parse-flyer-freshco on the FreshCo flyer URL to get a JSON array of extracted deals.

Frequently Asked Questions about parse-flyer-freshco

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract grocery flyer deals into JSON from FreshCo?

Grocery flyer deal extraction from FreshCo requires a headed Chrome environment with remote debugging to handle interactive Load More pagination, switch to the grid view, and parse Tailwind CSS selectors into a normalized JSON array of product records.

Does FreshCo web scraping require a headed Chrome browser?

Yes, FreshCo web scraping requires headed Chrome with remote debugging to interactively click the Load More button and render the dynamic Tailwind-based product grid before extracting structured deal data.

How do I capture Scene+ pricing when scraping grocery flyers?

Capturing Scene+ pricing during grocery flyer scraping involves reading optional loyalty and member price badges directly from the DOM and appending them to the structured JSON deal records during the selector-based parsing phase.

What is the best way to parse Tailwind CSS product grids for web scraping?

Parsing Tailwind CSS product grids for web scraping is best handled through drift-aware selector validation that targets utility classes directly in the rendered DOM, ensuring accurate extraction of sale prices and product details into structured JSON.

Can I output structured JSON with product categories from a FreshCo flyer?

Yes, you can output structured JSON with product categories from a FreshCo flyer because the grid view extraction process normalizes each deal record to include category and product_type fields, making the output ready for recipe matching pipelines.

What are the limitations of scraping grocery flyers with dynamic Load More buttons?

Scraping grocery flyers with dynamic Load More buttons is limited by the requirement for headed Chrome with remote debugging, as headless setups may fail to trigger the iterative loading workflow needed to completely render the Tailwind product grid.