Smart Scraper by Example — no selectors, no code
Pricing
Pay per usage
Smart Scraper by Example — no selectors, no code
Give a URL + an example value you can see on the page (a price, a title, a name). The actor learns the surrounding HTML pattern and extracts every similar item as structured rows. No CSS selectors, no API key.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Flash Scrape
Maintained by CommunityActor stats
1
Bookmarked
2
Total users
1
Monthly active users
2 hours ago
Last modified
Categories
Share
Smart Scraper by Example
No CSS selectors. No code. No API key. Give a URL and an example value you can see on the page — the actor figures out the HTML pattern around it and pulls every similar item.
Inspired by autoscraper (MIT) — re-implemented natively in Node.
How it works
- You provide one or more example values (a price, a title, a name) copied from the page.
- For each example, the actor finds it in the HTML and learns the wrapping tag + class.
- It extracts every element matching that rule and zips the fields into rows.
Input
| Field | Description |
|---|---|
| startUrls | Pages to scrape (list/category/search pages with repeating items). |
| examples | Values visible on the page, one per line. Label them author: Albert Einstein to name columns. |
| maxItems | Stop after N rows (0 = no limit). |
Example
{"startUrls": [{ "url": "https://quotes.toscrape.com/" }],"examples": ["quote: process of our thinking", "author: Albert Einstein"]}
→ returns one row per quote: { quote, author, sourceUrl }.
Output
One dataset item per extracted row — export to CSV / JSON / Excel from the run's dataset.
Tips
- Works best when each value sits in its own element (a
<span>price, an<h2>/<a>title). - Copy an exact value from the page's visible text (not from an image or a dropdown).
Pay-per-event
The actor calls Actor.charge({ eventName: "item" }) once per extracted row. Define the item
event in Apify Console → your actor → Publication → Monetization → Pay per event (suggested
~$0.001/item). Guarded so it runs fine while monetization is unconfigured.
Run / publish
apify run # localapify push # upload + build on Apify
Scrapes public web content. Use responsibly and within each site's terms.