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%

# MyComicShop connector (mycomicshop)

  • Source: https://www.mycomicshop.com · type: dealer · country: US · currency: USD
  • Acquisition: Scrapfly without JS rendering (~1 credit per title page) — Imperva Incapsula interstitial for non-browser clients
  • Records: listing (raw + CGC/CBCS slabs with certification numbers) and auction_lot (copies in MyComicShop's own auctions)

# Behaviour

  • Seeds: config.titles[].tid (series ids); URL /search?TID=<tid>&mingr=0 lists all issues of the series with in-stock copies as schema.org/Product microdata.
  • Per copy: ItemID, name with grade, asking price (consignment microdata price includes the 3% buyer's premium → kept in metadata, displayed price stored), availability, "Label #" → grade.certificationNumber, Signature Series qualifier, paper quality notes, consignor.
  • Publisher → category (marvel_comics / dc_comics / independent_comics / manga); issue number and published month/year from the page.
  • titlesPerRun titles per daily run, round-robin cursor {index}; lookup(/search?TID=…).

# Fixtures / tests

data/fixtures/mycomicshop/tid-*.json (+ .html snapshots cut to two issue blocks) are live captures. pnpm vitest run connectors/scrapfly/mycomicshop. Capture: pnpm tsx connectors/api/_g6-comics-toys-games-lib/capture.ts mycomicshop 1 <tid>.