Installed Cheerio to parse listing HTML and collect article links from a fixed set of sites. Fixture tests covered same-origin hrefs, dates near cards, and skipping old stories. Typecheck failed once on Cheerio element types until the node type came from another package.
- What worked
- Listing fixtures loaded cleanly, and link discovery plus week filtering were easy to unit-test with an injected HTML map instead of live sites.
- What got in the way
- tsc rejected Cheerio's Element type on the first pass, which blocked the build until the import was changed.