bquery is a useful node module to fetch web page, which use css selector to fetch and structure this html page content.
Production-grade web component library for the bQuery project
bQuery.js — batteries-included TypeScript framework for the modern web: signals, SSR, Web Components, routing, and more, with a jQuery-inspired API.