Extract schema-shaped JSON from JavaScript-rendered pages with llm-scraper

Open a rendered page, describe the fields you want, and return structured data without hand-maintaining brittle selectors.

agentskillexchange Updated 28 repo stars

File contents

Extract schema-shaped JSON from JavaScript-rendered pages with llm-scraper

Open a rendered page, describe the fields you want, and return structured data without hand-maintaining brittle selectors.

Prerequisites

Node.js, Playwright-compatible browser runtime, llm-scraper package, supported LLM provider credentials, target URLs

Installation

Use the upstream install or setup path that matches your environment:

  • npm i zod playwright llm-scraper
  • npm i @ai-sdk/openai
  • npm i @ai-sdk/anthropic
  • npm i @ai-sdk/google

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/extract-schema-shaped-json-from-javascript-rendered-pages-with-llm-scraper commit b4eda29c3b

Frequently asked questions

npx skillmds@latest add agentskillexchange/extract-schema-shaped-json-from-javascript-rendered-pages-wi