What problem does it solve?
This Skill turns Metro flyer product cards into clean, structured deal records with reliable prices and item metadata, removing the manual effort of copying deals out of a dynamic webpage.
Core Features & Use Cases
- Metro flyer deal extraction: Parses Metro’s Complete Flyer grid using stable CSS selectors plus rich data-* attributes for product name, brand, category, and pricing.
- Automated pagination via interaction: Clicks “Load More Deals” repeatedly until the flyer’s full deal set is loaded, with verification against the on-page “Found: N Deals” counter.
- Deal schema mapping: Outputs JSON deal objects with mapped categories, unit handling for weighted items, detection of multi-buy deals, and skip rules for non-grocery or missing sale prices.
- Drift detection for robustness: Runs selector hit-rate diagnostics before bulk extraction to avoid wasting time if Metro’s page structure changes.
Quick Start
Run parse-flyer-metro with the Metro flyer URL to return a JSON array of extracted grocery deals.