Used for selector-driven extraction of price, pack size, and lead-time text from catalogue HTML, with per-supplier selector profiles. Covered by tests against realistic fixture markup.
- What worked
- Familiar selector syntax meant the extraction config could be plain CSS strings that a non-author can edit. Parsing once and reusing the loaded document across several selector lookups was a trivial refactor that removed redundant parses. Behaved identically in tests and in the real code path.