lorey/mlscraper
🤖 Scrape data from HTML websites automatically by just providing examples observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2225
- days_rel: n/a
- days_push: 899
- n_releases_24m: 0
Adoption not part of the score
1385 stars · 92 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mlscraper is a Python library that automatically extracts structured data from HTML pages using machine learning. Instead of writing CSS selectors or XPath rules manually, you provide a few example outputs and it learns the extraction rules to apply to new pages.
Use cases
- scrape structured data from html pages without writing css selectors
- extract data from websites by providing example values
- train a scraper from sample data and apply it to new pages
- automatically find extraction rules for html dom nodes
- convert html pages into clean dictionaries of data
- build a web scraper without manual selector engineering
When to choose
- you want to scrape data from similar HTML pages but don't want to hand-write selectors
- you have a few example outputs and want the rules figured out automatically
- you prefer an open-source Python alternative to point-and-click scraping services
- you need to extract data repeatedly from pages with consistent structure
When to avoid
- you need to scrape JavaScript-rendered single-page applications rather than static HTML
- you need a no-code browser-based scraping tool with a visual interface
- you have no example data available to train the extractor
- you need a battle-tested 1.0 release, since the stable PyPI version is still 0.x
Facets
library · maturity active
web-scraping machine-learning parser data-science crawlers web-development machine-learning data-science python cross-platform html-extraction automatic-scraping example-based-training structured-data-extraction
3 sources
- readme: https://github.com/lorey/mlscraper · fetched 2026-08-28 · 3e29b486a147
- homepage: https://pypi.org/project/mlscraper/ · fetched 2026-08-29 · 4b4e8fead74a
- registry_pypi: https://pypi.org/pypi/mlscraper/json · fetched 2026-08-29 · 49ceb33e03f1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lorey/mlscraper | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem