ReviewOS

also looking at this

stacks/ts-web-scraper

fix: support structured DOM selectors

#847
Merged chris wants to merge codex/transfermarkt-dom into main
6 files +225 -57
9 days ago

What changed

  • add descendant and child combinators, compound selectors, and attribute operators to the native DOM selector engine
  • decode named and numeric HTML entities in text and attributes
  • stabilize generated extractor declarations and correct the robots test options
  • release and publish ts-web-scraper@0.1.5

Why

The selector engine flattened compound descendant selectors, so table extraction could match the wrong elements. Generated pipeline declarations were also invalid, blocking a clean typecheck of the release.

Validation

  • bun test (853 passing)
  • bun run typecheck
  • bun run lint (no errors; one pre-existing docs warning)
  • v0.1.5 release workflow succeeded

6 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.