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%
816 B · 11 lines markdown
Rendered Raw Blame History
1# pcgs-cert — PCGS certificate verification23Verifies PCGS coin/banknote cert numbers against `https://www.pcgs.com/cert/<cert>` (Firecrawl render of the4Cloudflare-challenged public Svelte page; Scrapfly fallback). One request per known cert.56- `certUrl(cert)` / `certFromUrl(url)` (also `/cert/verify?certno=`).7- Output: `catalog_item` (coin description, grade e.g. `AU58`, `identifiers.pcgs_number` + `pcgs_cert`, date/mintmark,8  denomination, mintage → `productionQuantity`, region, holder type, price-guide value in metadata, cert image) and a9  partial `population_report` ("Population" at grade + "Pop Higher"; `sourceUrl` = the linked public `/pop/pcgsnolookup` page).10- Fixtures: `data/fixtures/pcgs-cert/` — rebuild with `capture.ts pcgs-cert peace-dollar-1922s-au58=47044550 not-found=99999999`.11