← ClaudeAtlas

mtg-argentina-playwrightlisted

Scrape full catalogs of Argentine MTG stores using Playwright MCP. Walks pagination correctly across Bazaar of Baghdad, Rancho Store TCG, Labatikueva, Al Battle TCG, Phoenix Reborn. Use when surveying stores for deals across product categories (Collector Boxes, Bundles, Secret Lairs, Commander Decks, etc).
rodrijuarez/mtg-argentina-skills · ★ 0 · Testing & QA · score 72
Install: claude install-skill rodrijuarez/mtg-argentina-skills
# MTG Argentina — Playwright Full-Catalog Scraper ## When to use - User asks "what deals are at store X?" or "survey all stores" - Comparing prices for a specific product across all Argentine retailers - Looking for SLDs / bundles / commander collections / sealed - Verifying stock + pricing for a planned purchase ## CRITICAL — Walk ALL pages, not just page 1 Most stores paginate with **12 products per page**. A category claiming "Secret Lairs" or "Booster Boxes" typically has 3-5 pages. **Always check for pagination and walk every page.** ## Required tools - `mcp__plugin_playwright_playwright__browser_navigate` — load page - `mcp__plugin_playwright_playwright__browser_evaluate` — extract products via JS - `mcp__plugin_playwright_playwright__browser_wait_for` — handle Cloudflare delays - `mcp__plugin_playwright_playwright__browser_close` — cleanup ## Standard scraping flow ### 1. Navigate to category page 1 ``` browser_navigate(url=STORE_CATEGORY_URL) ``` ### 2. Wait if needed Phoenix Reborn has Cloudflare → wait 8 seconds: ``` browser_wait_for(time=8) ``` ### 3. Extract products + detect pagination ```js () => { const products = []; document.querySelectorAll('li.product, .product, .item-product, .js-item-product').forEach(card => { const name = card.querySelector('.woocommerce-loop-product__title, h2, h3, .name, .js-item-name')?.textContent?.trim(); const price = card.querySelector('.price, .woocommerce-Price-amount, .js-price-display, .item-price')?.textC