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%
949 B · 14 lines markdown
Rendered Raw Blame History
1# 1stdibs — 1stDibs marketplace (dealer listings)23Browse pages (`/furniture/seating/`, `/jewelry/`, `/jewelry/watches/wrist-watches/`,4`/fashion/handbags-purses-bags/`, `/art/prints-works-on-paper/` … `?page=N`, 60 items, ≤ 50 pages) embed5the server-rendered Relay store in `<script id="serverVars_data">`. `parseBrowseHtml` dereferences the6`Item` records: title, `serviceId`, display prices in 10 currencies (USD kept), seller company/id,7designers, location, period/style line, materials, measurements, photos, sold/hold flags.89- One raw record per page (trimmed items, not the 3 MB store), one `listing` per item.10- Category from seed vertical + category code + attribute line/title (`design_furniture` / `antiques` /11  decorative-object slugs / jewelry / watch brands / `luxury_handbags` / art).12- Cursor `{seedIndex, page}` with seed rotation; 5 s politeness.13- Identifiers: `firstdibs_item_id` (`f_51602042`), `firstdibs_seller_id`.14