If you wanna avoid the hassle of setting up Puppeteer, try Playwright. It’s like Puppeteer’s cooler sibling—supports multiple browsers and has a nicer API.
But yeah, for static scraping, Cheerio + axios is the quickest way to build a node website scraper.
Here’s a Playwright example if you’re curious:
```javascript
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://example.com');
console.log(await page.title());
await browser.close();
})();
```
But yeah, for static scraping, Cheerio + axios is the quickest way to build a node website scraper.
Here’s a Playwright example if you’re curious:
```javascript
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://example.com');
console.log(await page.title());
await browser.close();
})();
```
