llm-scraper
Turn any webpage into structured data using LLMs
About llm-scraper
LLM Scraper is a TypeScript library that allows you to extract structured data from any webpage using LLMs.
Using the generate function you can generate re-usable playwright script that scrapes the contents according to a schema.
As an open-source project, we welcome contributions from the community. If you are experiencing any bugs or want to add some improvements, please feel free to open an issue or pull request.
llm-scraper is an open-source project written primarily in TypeScript, with 6.8k stars on GitHub. It was last updated in June 2026.
npm i zod playwright llm-scraperllm-scraper vs. the alternatives
All browser & computer use →| Agent | Stars | Pricing | ||
|---|---|---|---|---|
| llm-scraper | 6.8k | TypeScript | MIT | Open source |
| UI-TARS-desktop | 38k | TypeScript | Apache-2.0 | Open source |
| skyvern | 22k | Python | AGPL-3.0 | Open source |
| page-agent | 22k | TypeScript | MIT | Open source |
| midscene | 14k | TypeScript | MIT | Open source |
| nanobrowser | 13k | TypeScript | Apache-2.0 | Open source |
