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%

# Entertainment Earth connector (entertainment-earth)

  • Source: https://www.entertainmentearth.com · type: dealer · country: US · currency: USD
  • Acquisition: Scrapfly without JS rendering (~1 credit/page) — Cloudflare managed challenge for non-browser clients
  • Records: listing (retail asking prices; pre-order / sold-out states kept)

# Behaviour

  • Seeds: config.seeds[] category listing paths (/s/action-figures/p → action_figures, /s/funko/c → funko, /s/vehicles/p → model_cars), ?page=N, 60 tiles/page, total pages read from the pager.
  • Tile data: data-sku, data-name, data-price, data-company (brand), data-theme (franchise), data-collect, product URL, image, struck list price, button label → availability.
  • Cursor {seed, page}; backfill bounded by the domain backfillMaxPages.

# Fixtures / tests

data/fixtures/entertainment-earth/*.json are live captures (tiles trimmed to 30, snapshot to 4 tiles). pnpm vitest run connectors/scrapfly/entertainment-earth. Capture: pnpm tsx connectors/api/_g6-comics-toys-games-lib/capture.ts entertainment-earth 1 [/s/funko/c].