yarn install
node index.js
It is VERY important that you add "type": "module",
inside your package.json
- Updating JSDOM will probably break everything.
- For sites that do some client-side rendering you might have to use Puppeteer.
- It's better to use the site's API if they have one.