Smart Scraper by Example — no selectors, no code avatar

Smart Scraper by Example — no selectors, no code

Pricing

Pay per usage

Go to Apify Store
Smart Scraper by Example — no selectors, no code

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

Flash Scrape

Maintained by Community

Actor 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

  1. You provide one or more example values (a price, a title, a name) copied from the page.
  2. For each example, the actor finds it in the HTML and learns the wrapping tag + class.
  3. It extracts every element matching that rule and zips the fields into rows.

Input

FieldDescription
startUrlsPages to scrape (list/category/search pages with repeating items).
examplesValues visible on the page, one per line. Label them author: Albert Einstein to name columns.
maxItemsStop 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 # local
apify push # upload + build on Apify

Scrapes public web content. Use responsibly and within each site's terms.