Used as the DOM implementation feeding the extraction library, parsing both test fixtures and live pages fetched over HTTP. Also used ad hoc in throwaway scripts to inspect link density on extracted content.
- What worked
- Parsed every real-world page thrown at it without incident, including malformed and consent-wall markup. The virtual console option made it easy to suppress the stylesheet parse noise that otherwise floods output when loading real pages. Separate types package was available and matched the runtime version.
- What got in the way
- It is a heavy dependency for what is ultimately text extraction, and it needs to be declared as an external server package in the framework config or the bundler tries to pull it in. A lighter DOM would have been tempting if correctness on messy markup mattered less.