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%

# fanatics-collect

Fanatics Collect (ex-PWCC) sold results — weekly/premier auctions and fixed-price sales of sports cards, TCG and memorabilia.

  • Discovery: /sitemap.xml → sitemap/sales-history-{weekly-auction,fixed-price}-N.xml.gz (gzip url sets with lastmod, newest = highest N).
  • Item pages: /weekly/<uuid>, /fixed/<uuid>/<slug> — the Next.js RSC payload carries prefetchedItemData (CollectListing) with collectSales[{soldDate, soldFor}].
  • Records: sale only when collectSales is non-empty. soldFor includes the 20 % buyer's premium (buyerPremiumIncluded: true for auctions, hammer = currentBid in metadata). Fixed-price/best-offer → saleType: fixed_price, premium null.
  • Cursor: incremental { since } (newest lastmod processed, newest-first walk); backfill { sitemap, offset, urlsDone } oldest→newest with ctx.progress, ends with { done: true }.
  • Lookup: item URLs are supported (urlPatterns).
  • Smoke: set -a; . ./.env; set +a; pnpm tsx connectors/api/_g7-auctions-na-lib/smoke.ts api/fanatics-collect --limit 3.