parse-flyer-rcss

Extract structured grocery deal data from the RCSS flyer grid.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill turns the Real Canadian Superstore (RCSS) flyer grid into structured grocery deal records you can use downstream for meal planning and shopping lists.

Core Features & Use Cases

  • RCSS grid scraping: Extracts product titles, brand (when present), prices, sizes, and badges from the /en/deals/flyer page using stable data-testid selectors.
  • Pagination at scale: Iterates through RCSS page-number pagination (?page=N) to cover the full flyer catalog.
  • Quality checks & drift detection: Performs selector hit-rate diagnostics and early-stops when the page structure has changed, preventing wasteful scraping.
  • Deal normalization: Parses sale/regular pricing, derives units from size strings, classifies categories/product types, and extracts deal conditions like SAVE amounts and MIN purchase quantities.
  • Practical filtering: Skips sponsored/ad tiles and non-deal items so the output focuses on real flyer promotions.
  • Use case: When weekly flyer deals change, run this Skill to automatically produce a JSON list of deals with consistent fields for recipe matching and budget optimization.

Quick Start

Use the parse-flyer-rcss skill with the RCSS flyer grid URL https://www.realcanadiansuperstore.ca/en/deals/flyer to output a JSON array of parsed deal records.

Frequently Asked Questions about parse-flyer-rcss

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

FAQPage Schema
How do I extract structured grocery deal data from the Real Canadian Superstore flyer?

To extract RCSS flyer deals, you need a scraper that parses the /en/deals/flyer page using stable data-testid anchors to normalize product titles, prices, sizes, and badges into structured JSON records.

How do I handle pagination when scraping grocery flyer grids?

To handle flyer grid pagination, the scraper iterates through sequential URL parameters like ?page=N until the product stream bottoms out. This ensures the full catalog is covered without manual intervention or missing later pages of deals.

How does web scraping deal with grocery flyer selector drift?

To deal with selector drift during web scraping, the process performs hit-rate diagnostics on required selectors and early-stops if the page structure has changed. This prevents wasteful scraping and alerts you to update parsing logic when layouts shift.

Do I need a specific browser setup to scrape dynamic grocery flyer grids?

Yes, scraping dynamic RCSS flyer grids requires a headed Chrome session with remote debugging enabled. This environment allows the scraper to properly render JavaScript-driven content and automatically dismiss popup or banner interruptions during extraction.

How do I normalize heterogeneous grocery flyer tiles into clean deal objects?

To normalize heterogeneous flyer tiles into clean deal objects, the scraper parses sale and regular pricing, derives units from size strings, classifies product categories, and extracts deal conditions like SAVE amounts and MIN purchase quantities while filtering out sponsored ads.

What is the best way to prepare weekly grocery deals for recipe matching?

The best way to prepare grocery deals for recipe matching is to parse flyer grids into normalized JSON records with consistent fields. Filtering out non-deal items ensures the output focuses strictly on real promotions for accurate budget optimization.