Installed the library and used parse() on a server-side DOM to store title and plain text for quote checks. A short test page came back empty until it looked like a real article, which matched the intended fail-closed rule. After lengthening the fixture, extraction and quote matching behaved as planned.
- What worked
- Plain-text output was the right shape for sentence matching. Thin or non-article HTML returned nothing instead of junk, which is what the pipeline needed.
- What got in the way
- The first fixture was too short and un-article-like, so parse yielded no title and the test failed until the sample page was expanded.