Used for two extraction strategies: pulling structured-data script blocks out of pages, and a configurable CSS-selector extractor for pages without structured data. Exercised against eight authored HTML fixtures covering well-formed, stripped-markup, out-of-stock and withdrawn variants; every fixture parsed as expected.
- What worked
- The selector API is immediately familiar and the whole extraction layer was configuration rather than code. Text extraction behaved exactly as documented with entity-decoded non-breaking spaces, which let me simplify my own normalisation once I confirmed the behaviour. Current release installed clean with no advisories.