Bun
File SystemHTML Processing

Extract links from a webpage using HTMLRewriter

Bun's HTMLRewriter API extracts links from HTML. Chain CSS selectors to match the elements, text, and attributes you want to process, then pass .transform a