You've got a target list to build, a competitor price to check, or a set of pages an agent needs to read before lunch, and copying details by hand won't survive the week. That's the moment most scraping projects start. Not with a grand data strategy, but with a repetitive business task and a page structure that looks just stable enough to automate.
The best web scraping projects aren't defined by how much data they collect. They're defined by how reliably they turn public web pages into a decision, lead, metric, or monitoring alert. A script that downloads thousands of pages but can't tell you which records are new, stale, duplicated, or unusable hasn't finished the job.
These eight Web Scraping Examples are framed as reusable workflows, not isolated tricks. Each one follows a distinct path from raw web data to an actionable output, covering directory prospecting, email verification, SERP analysis, ad intelligence, creator research, release monitoring, price tracking, and LLM-ready extraction. The common thread is operational discipline, including source URLs, timestamps, rate limits, deduplication, and validation.
Scale alone doesn't prove quality, either. Common Crawl's archive overview describes a nonprofit founded in 2007 that has collected data regularly since 2008, publishes crawls generally about once a month, and now holds more than 10 petabytes of raw page data, metadata, and text extracts. Its typical recent crawl contains more than 2 billion web pages, while the crawler processes approximately 3 billion pages per cycle. That history matters because it shows scraping as a repeatable pipeline for discovering URLs, fetching content, recording metadata, handling failures, removing duplicates, and publishing structured outputs. Your workflow can be much smaller, but it needs the same moving parts.
Table of Contents
- 1. Local Business Lead Prospecting from Online Directories
- 2. Company Contact Page Email Extraction with Verification
- 3. Google SERP Rank Tracking and Share of Voice Analysis
- 4. Ad Library Collection for Competitive Ad Intelligence
- 5. Creator and Influencer Profile Enrichment for Talent Lists
- 6. Changelog and Release Monitoring for Product Updates
- 7. Price and Product Monitoring with Robots.txt Compliance
- 8. LLM-Ready Page Extraction for AI Agents
- 8 Web Scraping Examples: Side-by-Side Comparison
- Build a Scraping System You Can Operate
1. Local Business Lead Prospecting from Online Directories
A regional sales rep needs plumbers, dentists, or commercial tenants in three cities by Friday. Directory pages already group those businesses by category and location, so the workflow starts there. You request a listing page, parse each result card, follow detail pages where allowed, and save a structured prospect record.

Build the Record Before You Chase Volume
Use CSS selectors for the repeating card elements, such as business name, category, city, phone, website, and profile link. Directory HTML is often static, which makes lightweight tools like requests and BeautifulSoup sufficient for a first version. Normalize phone formats, strip tracking parameters from websites, and deduplicate by domain plus business name before anything enters your CRM.
Two practical versions show up repeatedly. Trade association member directories can produce regional prospect lists for suppliers that sell into a niche industry. Local service provider listings filtered by city and category give field sales teams a route-ready list, and teams researching commercial property can find Loopnet businesses by location as a structured starting point instead of scraping every listing manually.
- Check permission first: Review robots.txt and terms of service, and identify your bot with a contact address in the User-Agent.
- Rate limit and cache: Space requests by one every 2 to 5 seconds and cache responses during development so you don't refetch the same pages.
- Audit every row: Store the source URL and scrape timestamp with each record, then verify contact details before outreach.
Practical rule: A prospect list you can't trace back to a source page and date isn't ready for sales. It's just a spreadsheet of claims.
The trade-off is freshness versus coverage. Broad directories give you volume fast, but closed businesses and stale phone numbers creep in. A smaller, verified list usually produces better outreach than a larger scrape nobody trusts.
2. Company Contact Page Email Extraction with Verification
A CRM full of domains and empty contact fields is a common stalemate. This workflow turns company sites into a contact queue: fetch only likely pages, pull strings that look like email, keep evidence, then pay for verification on candidates instead of every address you can see.
candidates = []
for page in contact_like_pages(domain): # /contact, /about, /team, /impressum
html = fetch(page)
for raw in EMAIL_RE.findall(html + " " + visible_text(html)):
email = normalize(raw)
if same_domain(email, domain) and not obvious_noise(email):
candidates.append({
"email": email,
"source_page": page,
"context": nearby_label(html, email), # press, sales, careers, founder
})
for row in dedupe(candidates):
row["verify"] = verifier.check(row["email"]) # smtp, accept_all, disposable
row["tier"] = confidence(row["context"], row["verify"])
emit_to_outreach_queue(row)
The useful output is not a bigger list. It is a record with email, source_page, context, verify, and tier, so an SDR can tell a reachable founder from a role mailbox scraped under a privacy notice. Sales teams use it to enrich named accounts before sequencing. Recruiters run a lighter pass for company research. Podcast bookers apply the same logic when they locate guests via email search, where one reachable person beats a folder of guesses.
Treat accept_all and disposable results as risky, honor suppression across tools, and re-verify after role changes or long gaps. The trade-off is coverage against deliverability: loose pages find more candidates, but weak evidence burns domains.
3. Google SERP Rank Tracking and Share of Voice Analysis
Rankings move even when nothing changed. A client asks whether visibility improved this month, and a screenshot of one search result cannot answer the question, because that result reflects one device, one location, and one moment. SERP tracking turns the question into a dataset. Pull organic results for a fixed keyword set under fixed conditions, record which domains appear and where, and let repeated runs produce rankings plus share of voice, the portion of visible results a brand holds.

Architecture: Scheduled Pulls into a Time Series
Scraping search engines directly is fragile and often blocked, so practitioners send queries through a SERP API that returns parsed results as JSON. Keep every raw response unchanged, then project it into a table keyed by keyword, position, domain, result type, and collection timestamp. Retention pays off later: when your weighting model changes, you recompute share of voice from stored history rather than losing it.
for kw in keyword_set:
raw = serp_api.search(kw, device="desktop", geo="US", lang="en")
store_raw(raw) # keeps history replayable
for r in raw["organic_results"]:
rows.append({"keyword": kw, "position": r["position"],
"domain": registrable_domain(r["link"]),
"collected_at": run_ts})
share_of_voice = rows.pipe(weight_by_ctr).groupby("domain").sum()
The Decisions That Make or Break the Report
| Decision | Tempting shortcut | What it costs |
|---|---|---|
| Query source | Scraping result pages directly | Blocks, layout breakage, unreliable parses |
| Metric | Counting top-10 appearances | A position 9 ranking scores the same as position 1 |
| Cadence | Running checks ad hoc | Time-of-day noise reads as real movement |
Lock device, location, and language so trends stay comparable, and weight positions by estimated click through instead of counting presence. Collect at a consistent hour.
SEO platforms such as Ahrefs and Semrush run this pipeline at product scale, while agencies operate narrower versions to report monthly share of voice against named competitors for a client portfolio. Either way, label the context you measured. Results vary by device, location, and personalization, and a labeled dataset keeps stakeholders from comparing it against a personalized search they ran on their phone.
4. Ad Library Collection for Competitive Ad Intelligence
A competitor launches a new message. Your team catches one ad in a feed and misses the rest of the campaign. Public ad transparency libraries close that gap, and collecting them turns scattered sightings into a dated record of what competitors ran.

Two sources cover most of this workflow. Meta's Ad Library API is the more structured option, with keyword search and country filters, though coverage differs by ad category and region. Google's Ads Transparency Center fills in the Google side. Check the current Graph API version and Ad Library API documentation before building, because fields and access rules change.
The collection loop itself is short:
- Query the library by advertiser name, keyword, and country.
- Store ad IDs, creative text, active dates, formats, and available reach fields, each row tagged with a snapshot timestamp.
- Group records by theme and offer, then diff snapshots to measure how long each campaign stayed live.
That third step is where the value sits. Longevity is the signal: an ad that runs for months tells you more than a clever creative spotted on day one. Journalists and researchers run this pipeline to track political ad spending across election cycles. Brand teams run a narrower version, reviewing competitor creative themes during product launches and seasonal pushes. Both need the same discipline around how the data gets captured.
Three habits keep the dataset honest. Log every query with its keywords, countries, and filters so another analyst can reproduce the pull. Keep snapshot dates on every record so timing claims survive an audit. And treat visibility cautiously, combining library data with first party performance benchmarks instead of reading presence as budget proof.
The limitation is coverage. Library data reflects what platforms choose to disclose, and that varies by region and ad category. Where the library shows nothing, mark it unknown and avoid reading silence into a gap.
5. Creator and Influencer Profile Enrichment for Talent Lists
A talent lead opens the quarterly partner list and sees follower counts copied during the last launch, handles that changed owners, and three creators whose category drifted away from the product. Rebuilding by hand costs a week. A refreshable creator CRM costs a scheduled job.
The workflow is a pipeline with two collection lanes and one ledger. Resolve each handle to a canonical creator record, pull official API fields first, store every metric beside source and collection date, then let a controlled scraper fill only public gaps the API leaves. Raw pages become rows, rows become snapshots, and snapshots become a decision queue for campaign planning.
for row in handles:
canonical = resolve_identity(row) # same creator, new handle included
data = api.fetch(canonical) or public_page_fetch(row.url)
store(data, source=data.origin, collected_at=today())
score_latest(metrics).export("talent_list")
Brand teams filter mid tier creators by audience band and category before negotiating placements. Agencies compare the first snapshot with later ones to report growth during a campaign. Identity resolution matters in both, because a renamed handle can otherwise look like churn followed by a lucky discovery.
| Decision | Choose when | Cost |
|---|---|---|
| API only | Fields cover size, views, cadence, links | Narrower coverage |
| API plus gap scraping | A public metric matters and no field exists | Brittle layouts, login walls |
| Scraped only | API access is unavailable | Highest maintenance, weaker audit trail |
Batch eligible channel IDs to reduce quota pressure. Keep consent rules attached to the CRM row where outreach databases require permission. If a platform returns nothing, write it as missing rather than guessing. On a monthly refresh cycle, predictable API fields usually carry more value than a clever extractor that fails.
6. Changelog and Release Monitoring for Product Updates
A dependency ships a breaking change on Tuesday, and the build fails on Thursday. Release monitoring closes that gap by turning vendor feeds and project pages into a queue of release events, then into upgrade notes, support briefs, or content ideas.
Architecture: subscribe to RSS or Atom where it exists, store GUID or link, title, publication date, body, and ETag or Last-Modified per source, then diff each poll against the last seen item. When no feed exists, snapshot the release page and hash the meaningful release block instead of the whole HTML.
for src in sources:
if src.feed_url:
for item in parse_feed(src.feed_url, etag=src.etag):
if unseen(item.guid or item.link):
enqueue(normalize(item), source=src.id)
else:
page = fetch(src.url, headers=UA)
if content_hash(extract_release_block(page)) != src.last_hash:
enqueue(extract_release_block(page), source=src.id)
Continuous collection needs restartable stages even at modest volume. A pipeline evaluated across 16 tender portals processed up to 2,000 web pages per day in continuous operation; the same operational shape applies here: acquisition, parsing, transformation, storage, monitoring, and recovery across sites that do not change on your schedule.
The trade-off is signal versus maintenance. Feeds are cheap and stable, but some vendors bury the changes in marketing notes. Page watches catch everything, including redesigns and A/B noise. Dedup by GUID or link, fall back to content hashing only for the release block, and log every processed item so an alert can be explained later. Open source tools such as changedetection.io can cover the no-feed case before you write a custom watcher.
Route by severity, not volume. Major versions, security advisories, and deprecations go to engineering; minor features go to DevRel and docs; patch noise stays in the archive.
7. Price and Product Monitoring with Robots.txt Compliance
Retail teams don't need one competitor price. They need a history that shows when a price moved, how long a promotion lasted, and whether stock disappeared during a sale. This workflow checks product pages on a schedule and stores price, currency, availability, and product attributes as dated snapshots.
Check Access Before You Extract the Price
The script first reads robots.txt to confirm the target path may be fetched, caches that file, and respects Crawl-delay directives. It identifies itself with a clear User-Agent, requests the product page, and extracts the price with a CSS selector or structured data where available. Log every request with its timestamp and status code so gaps in the price history can be explained.
Compliance isn't a simple permission checkbox for agent driven collection. Wired's reporting on TollBit estimates for AI scraping traffic states AI scraping bots accounted for roughly one in 31 visits to TollBit customers' sites in Q4 2025, while more than 13% of bot requests bypassed robots.txt, about four times higher than in Q2. Your monitor should take the opposite approach: identify the actor and purpose, respect rate limits and authentication boundaries, and stop or escalate when rights are unclear.
Retail teams monitor competitor pricing across a catalog of SKUs. Analysts track price changes during seasonal sales events to separate real discounts from temporary list price games. Use a headless browser such as Playwright only when the price is rendered client side, and scale with a framework like Scrapy, originally developed at Mydeco and now maintained by Zyte, when queues and retries outgrow a single script.
Personalization can distort the output. Prices may vary by location, session, or account state, so record the request conditions with every snapshot. Without that context, you can't tell a market wide price cut from a regional test.
8. LLM-Ready Page Extraction for AI Agents
An agent asked to summarize a product page doesn't need nav menus, cookie banners, and footer links. It needs the title, author where available, publication context, and main body in clean text it can reason over. LLM-ready extraction converts arbitrary pages into that structured document, making it usable for research agents and retrieval-augmented generation pipelines.
Stop Writing One Parser Per Site
Instead of maintaining HTML selectors for every domain, the agent calls an extraction API that identifies main content with machine learning. Store the source URL, extraction date, and raw HTML hash with each document, then chunk the text by headings before embedding. Cache by URL so you don't pay for repeat extractions of unchanged pages, and compare output against a manual sample whenever you add a new content type.
That validation step matters because better extraction models still need measurement. NeuScraper's evaluation for pretraining corpus curation reported that the neural approach surpassed traditional rule based scrapers by more than 20% on extraction quality metrics including accuracy, precision, recall, and F1, and measured average processing time across 19,013 pages. The useful lesson is to separate quality from throughput: build a manually verified gold set, measure precision and recall, then benchmark latency at realistic batch scale.
Research agents summarize news articles and product pages on demand with this pattern. Knowledge base builders ingest documentation sites for internal question answering, where clean headings and provenance matter more than pixel perfect HTML. For implementation notes and agent workflow ideas, the looot blog on agent data workflows is a relevant reference point.
- Preserve traceability: Keep URL, date, and HTML hash beside every extracted document.
- Chunk by headings: This keeps retrieval passages coherent instead of splitting mid argument.
- Keep fallback rules: Higher recall doesn't guarantee clean training or retrieval data, so validate before indexing.
The trade-off is control versus coverage. Managed extraction handles varied pages quickly, but you inherit the provider's choices about what counts as main content. Sample the output, measure errors, and keep raw artifacts so you can reprocess when quality isn't good enough.
8 Web Scraping Examples: Side-by-Side Comparison
| Example | 🔄 Implementation Complexity | ⚡ Resource Requirements | 📊 Expected Outcome | Ideal Use Case | ⭐ Key Advantage |
|---|---|---|---|---|---|
| Local Business Lead Prospecting | Low; requests and CSS selectors | Low; lightweight libraries and rate-limited requests | Structured, deduplicable business prospect lists | Regional sales prospecting | 💡 Fast and inexpensive on static directory pages |
| Company Contact Email Extraction and Verification | Medium; extraction plus verification API integration | Low to medium; site requests and paid checks per address | Deduplicated emails with verification statuses | Enriching sales or recruiting contact lists | ⭐ Limits verification spend to found addresses |
| Google SERP Rank Tracking and Share of Voice | Medium; API setup and ongoing data processing | Medium to high; per-query API costs, especially at scale | Location-specific rankings and share-of-voice metrics | SEO reporting and competitor tracking | ⚡ Structured results scale without proxy or parser maintenance |
| Ad Library Competitive Intelligence | Medium; API registration, pagination, and version maintenance | Medium; API access and query management | Searchable records of public ads and campaign timing | Competitor creative research and ad transparency analysis | ⭐ Uses structured data from official ad libraries |
| Creator and Influencer Profile Enrichment | Low to medium; API integration and quota handling | Low to medium; API quota limits batch size | Creator profiles enriched with available audience metrics | Building and tracking influencer talent lists | 💡 Documented API fields are more consistent than scraped data |
| Changelog and Release Monitoring | Low; feed parsing and scheduled runs | Very low; minimal compute and bandwidth | New release entries ready for review or summarization | Tracking software, vendor, and dependency updates | ⚡ Stable, machine-readable feeds require little maintenance |
| Price and Product Monitoring | Medium; robots.txt checks, selectors, and scheduled snapshots | Medium; recurring requests, possibly a headless browser | Time-series data on price, stock, or product changes | Retail price and availability monitoring | 📊 Repeated snapshots reveal trends and promotions |
| LLM-Ready Page Extraction | Low to medium; extraction API integration | Medium; per-page API costs and storage | Clean, structured content for AI workflows and RAG | Research agents and knowledge-base ingestion | ⭐ Works across varied layouts without custom selectors |
Build a Scraping System You Can Operate
Choose the smallest architecture that can produce a reliable business output. Use static HTML parsing for stable pages, an official or structured API where one exists, and a managed extraction service for varied pages intended for AI systems. Adding a headless browser, proxy layer, or custom crawler before you need it usually adds maintenance faster than it adds insight.
Every workflow in this list needs the same operational backbone. Preserve source URLs and timestamps, deduplicate before paid operations, rate limit requests, log status codes, and review the site's terms before deployment. Those habits sound mundane until a stakeholder asks why a lead list changed, why a price history has a gap, or whether an agent was allowed to store a page.
Public archives show why scraped data should be treated as a changing measurement, not a perfect census. Common Crawl's current archive summary reports more than 300 billion pages collected across roughly 15 years, with 3 to 5 billion new pages added each month, and a January 2026 archive containing 2.30 billion pages. Its statistics also track redirects, forbidden requests, missing hosts, 404 pages, and crawl overlap. Your dataset has the same categories at smaller scale, so report them instead of hiding failed fetches behind a final row count.
Coverage error deserves the same attention as extraction speed. Research on measuring scraped online news exposure found static, post-hoc scraping can miss at least 33.8% of the content users were exposed to in an online news setting, while a 90 day delay added less than one percentage point beyond the baseline discrepancy. That finding should change how you design collection: repeat captures across profiles, locations, times, and request conditions where personalization matters, then compare samples and report missingness. More pages don't automatically mean better data if every page came from the same narrow viewpoint.
Operating principle: Validate representativeness before you scale collection. A biased pipeline run faster only produces biased answers sooner.
For agent based lead discovery, SERP collection, ad library research, and page extraction, looot provides one key, upfront per call prices, provider comparison, and a verifiable run ledger. That model helps when a workflow spans providers such as email verification, search, ads, and extraction, because teams can review what ran and what it cost in one place. If you're building agent tooling around those calls, the AgentGrown API docs offer a useful reference for documenting operations clearly. The goal isn't to collect the whole web. It's to run a system your team can inspect, rerun, and trust when the output informs a real decision.
Start with one workflow, one source, and one measurable output. Prove that the records are accurate, fresh, and permitted for your intended use. Then scale the parts that survived contact with real pages, real failures, and real users asking where the numbers came from.
If your next workflow needs lead discovery, SERP data, ad research, or LLM-ready page extraction without juggling separate provider accounts, try looot for one key, quote before run pricing, and a verifiable ledger for every call. Bring one of these Web Scraping Examples to it, run the smallest useful version, and use the recorded cost and provider output to decide what deserves to scale.



