SPB Git forge

spb/rareindex

Public
54commits 1branches 0releases
7.1 MBsize
maindefault branch
10 days agolast push
TypeScript 61.9% HTML 37.2% SQL 0.7%

# Miniature Market connector (miniature-market)

  • Source: https://www.miniaturemarket.com · type: dealer · country: US · currency: USD
  • Acquisition: plain HTTPS (honest bot UA, 200 OK) — Shopware 6 listing pages /board-games.html?p=N (24 boxes/page, 379 pages) and /board-games/new-releases.html
  • Records: listing (board games; retail list price → originalMsrp)

# Behaviour

  • robots.txt: Crawl-delay: 10 honoured (10 s between requests), ?p= allowed, sort/limit parameters never used.
  • Per box: name, URL, image, SKU (data-sku), Shopware product id, list price vs. our price, buy button (Add to cart / Preorder).
  • Cursor {seed, page}; total pages from the pagination nav.

# Fixtures / tests

data/fixtures/miniature-market/*.json (+ .html snapshot cut to 4 boxes and the pager) are live captures. pnpm vitest run connectors/api/miniature-market. Capture: pnpm tsx connectors/api/_g6-comics-toys-games-lib/capture.ts miniature-market 1.