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%

# eStarland connector (estarland)

  • Source: https://www.estarland.com · type: dealer · country: US · currency: USD
  • Acquisition: Scrapfly without JS rendering (~1 credit/page) — Cloudflare managed challenge for non-browser clients
  • Records: listing (retro/modern games by platform; New/Used, availability)

# Behaviour

  • Seeds: config.seeds[] platform listing paths (/platforms/NintendoNES/37 → nintendo_games, brand Nintendo …), ?page=N, 30 cards/page, total pages from the pager.
  • Cards: name, platform line ("Nintendo / NES" → brand + attributes.set), New/Used (completeness = sealed only for New; Used is never guessed loose/complete), price, unavailPrice → ended, product id from the URL.
  • Accessories/cables/repair parts excluded by rule; cursor {seed, page}.

# Fixtures / tests

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