mishushakov/llm-scraper

Turn any webpage into structured data using LLMs

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 50 minutes ago
Added to GitGenius on September 9th, 2026
Created on April 20th, 2024
Open Issues & Pull Requests: 9 (+0)
GitHub issues: Enabled
Number of forks: 453
Total Stargazers: 6,924 (+0)
Total Subscribers: 35 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.1 days
Mean response time: 67.5 days
90th percentile: 132.1 days
Tracked items: 20

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 870 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

LLM Scraper is a TypeScript library that extracts structured data from webpages using large language models.

The tool solves the problem of converting unstructured web content into machine-readable data by combining browser automation with LLM reasoning. It works by loading a webpage through Playwright, optionally processing it into various formats (HTML, markdown, text, or screenshots), and then passing the content to an LLM with a schema definition to extract and structure the data according to your specifications.

Developers should choose this tool when they need flexible, schema-driven web scraping that can handle diverse page layouts without brittle CSS selectors or DOM parsing logic. It suits projects where the target data structure is well-defined but page markup varies, or where content requires semantic understanding rather than pattern matching. The library supports multiple LLM providers including OpenAI, Anthropic, Google, Groq, and Ollama, and allows schemas to be defined using either Zod or JSON Schema. It includes streaming support for partial object extraction and a code-generation feature that produces reusable Playwright scripts based on your extraction schema.

The project maintains active engagement with community contributions and bug reports through its issue and pull request process. Development has progressed to a major version update that integrates with current tooling standards. The codebase includes multiple working examples demonstrating different extraction scenarios, providing clear reference implementations for common use cases.