parse-flyer-metro
CommunityExtract Metro grocery deals into JSON
Data & Analytics#browser automation#web scraping#price parsing#grocery deals#json extraction#weighted produce
AuthorJoresti
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: parse-flyer-metro Download link: https://github.com/Joresti/grocery-hack/archive/main.zip#parse-flyer-metro Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.