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%
1.1 KB · 11 lines markdown
Rendered Raw Blame History
1# fanatics-collect23Fanatics Collect (ex-PWCC) sold results — weekly/premier auctions and fixed-price sales of sports cards, TCG and memorabilia.45- **Discovery**: `/sitemap.xml` → `sitemap/sales-history-{weekly-auction,fixed-price}-N.xml.gz` (gzip url sets with `lastmod`, newest = highest N).6- **Item pages**: `/weekly/<uuid>`, `/fixed/<uuid>/<slug>` — the Next.js RSC payload carries `prefetchedItemData` (CollectListing) with `collectSales[{soldDate, soldFor}]`.7- **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`.8- **Cursor**: incremental `{ since }` (newest lastmod processed, newest-first walk); backfill `{ sitemap, offset, urlsDone }` oldest→newest with `ctx.progress`, ends with `{ done: true }`.9- **Lookup**: item URLs are supported (`urlPatterns`).10- Smoke: `set -a; . ./.env; set +a; pnpm tsx connectors/api/_g7-auctions-na-lib/smoke.ts api/fanatics-collect --limit 3`.11