Technical
Deep dives into anti-bot systems, TLS fingerprinting, proxies, and browser automation.
BeautifulSoup vs lxml: HTML Parser Trade-offs at Scale
Compare BeautifulSoup and lxml on memory, speed, and error tolerance so you pick the right parser before your scrape pipeline hits scale.
Map Your Throughput Curve: Find the Concurrency Sweet Spot
Run a local harness that logs pages per minute at rising worker counts. Plot your throughput curve and find where extra concurrency stops paying.
Mark Tools Read-Only: MCP Annotations for Scraping Servers
Give every MCP scraping tool a title and hints so the agent knows which fetch is read-only and which call can burn quota. Includes JSON examples.
Measure Link Rot: A Local Sampler for Your Oldest URLs
Build a small local sampler that re-checks your oldest scraped URLs, measures 404 and redirect rates, and tells you when a dataset needs refreshing.
Breadth-First vs Depth-First Crawls: Frontier Trade-offs
Breadth-first and depth-first crawls spend your fetch budget differently. Compare coverage, discovery speed, and duplicate risk before you pick a frontier.
Price the Answer, Not the Page: Unit Economics of a Question
Roll every fetch, retry, render, and proxy hop into one number: the cost of a single delivered answer. Build the roll-up budget and recompute it yourself.
Count the Requests Behind Every Rendered Page
Log every subrequest a rendered page fires with a local network listener. Measure request fan-out per URL, spot bloat, and find hidden data endpoints.
Authorize an AI Agent to a Remote MCP Server
Wire OAuth 2.1 into an MCP agent client: discover the server's auth metadata, register dynamically, run PKCE, and refresh tokens when tool calls 401.
Prove Your Concurrency: Count In-Flight Requests Locally
Point your scraper at a local listener that logs request starts and ends, then compute real in-flight concurrency to verify your worker pool setup.
Confirm Before You Fetch: MCP Elicitation for Scraping Tools
Add MCP elicitation to scraping tools: pause for user consent on costly fetches, collect credentials mid-run, and fail cleanly when no one answers.
Budget the Fetches Behind Every Data Row
Every data row rides on listing pages, pagination, and dead links. Model the fetch-to-row ratio, plug in real numbers, and budget crawls you can defend.
Measure How Often Your Scraper Reopens a Connection
Run a local listener that counts TCP handshakes to reveal how often your scraper reopens connections — and what each reconnect adds in time and CPU.
Run One Web Data Agent Across Multiple MCP Servers
Wire one agent to fetch, extraction, and storage MCP servers. Handle tool name collisions, per-server auth scopes, and wrong-tool picks in production.
What It Costs to Keep a Page Fresh for a Year
Compute what one monitored page costs per year: fold cadence, retries, render share, and success rate into one recomputable per-page budget number.
Measure Duplicate Pages in Your Scraped Dataset
Build a local simhash checker that flags near-duplicate pages in your scraped data and reports your true duplication ratio before it skews analytics.
Fence In Your Agent: Domain Allowlists for MCP Fetch Tools
Agents with fetch tools can wander anywhere. Build a domain allowlist into your MCP server, block internal IPs, and log every rejected call.
Measure DOM Settle Time: Know When a Page Is Ready
Build a local MutationObserver harness that measures DOM quiescence on JavaScript-heavy pages, so you extract only after rendering truly settles.
What a Proxy Hour Really Costs: A Burn Budget
Model the real cost of proxying a scrape: bandwidth per page, rotation overhead, and failure burn you can recompute from your own request logs.
Count the Hops: Measure Redirect Chains With a Local Tracer
Build a small Python script that disables auto-follow and logs every 3xx hop — status, target, timing — to see what redirects really cost your scraper.
Serve Scraped Data to Agents as MCP Resources
Turn scrape results into MCP resources: agents read the latest snapshot by URI and get notified when the data changes instead of re-fetching pages.
What a CAPTCHA Solve Adds to Your Per-Page Cost
Model what CAPTCHA solving really adds per successful page: trigger rates, solve fees, and escalation math you can recompute from your own logs.
Measure Content Density: How Much of a Page Is Data
Run a local analyzer over a sample of scraped HTML to split bytes into scripts, styles, and extractable text — and see how much of each page is data.
Teach Your Agent to Escalate Its Own Fetches
Wire MCP fetch tools in tiers so your agent tries a cheap plain fetch first, then escalates to JS rendering and geo-routing only when a page needs it.
What a Rendered Page Costs in Compute: Sizing Browser Fleets
A worked model of what a JS-rendered page costs in compute: RAM per tab, CPU share, concurrency ceilings, and crash overhead, with numbers you can recompute.
Slow Scrape, No Timeout: MCP Progress and Cancellation
A JS-rendered page can outlast your agent's tool call timeout. Add MCP progress notifications, handle cancellation, and stop paying for abandoned scrapes.
Price the Bytes: A Storage Budget for Scraped Data
The fetch is priced; the bytes keep billing you. Model storage, gzip, egress, and retention per scraped page with numbers you can recompute.
Measure Exit IP Geolocation Accuracy With a Local Check
Run a small local audit: log the exit IP country on every scrape request, compare it to the country you asked for, and compute an accuracy score.
Throttle MCP Tool Calls: A Token Bucket for Agents
AI agents can fire MCP scraping tools in bursts that burn quota and trip rate limits. Build a token-bucket throttle that paces tool calls without stalls.
Test Your MCP Scraping Server Before an Agent Uses It
Run your MCP scraping tools through a local test harness: verify tool discovery, argument handling, and response shape before a live agent calls them.
Amortize Maintenance Into Your Per-Page Cost
Your per-page price omits the hours spent fixing selectors and updating parsers. Learn to amortize scraper maintenance into a true per-page cost model.
Audit What Your Scraper Sends With a Local Echo Server
Spin up a local echo server, point your scraper at it, and log every header and cookie it sends — so you find fingerprint leaks before an anti-bot system does.
Cache MCP Tool Responses: Stop Re-Fetching the Same Page
Agents re-fetch the same URL every turn. Add a TTL cache to your MCP scraping tools, serve repeat calls instantly, and invalidate entries when data goes stale.
Build a Scrape Cost Ledger: Trace Where Dollars Went
Log a cost dimension on every fetch and build a per-URL ledger that shows where your scraping budget actually goes — renders, retries, and wasted pages.
Log Your Exit IPs: Measure Proxy Rotation Locally
Spin up a local HTTP listener, point your scraper at it, and measure exit IP diversity, reuse windows, and rotation gaps before blocks happen.
Debug MCP Tool Calls: Trace What Your Agent Fetched
Wire logging and tracing into an MCP session so you can see every tool call your agent makes, inspect payloads, and pin down where live web data went wrong.
How Retries Quietly Double Your Scraping Costs
Failed attempts still cost money. Model attempts-per-success, fallback tiers, and proxy burn to compute what a delivered page truly costs.
Token Economics of LLM Extraction: A Cost Worksheet
Measure the real token cost of LLM extraction: tokens per page, per field, and per clean record, with a worksheet you can recompute on your own corpus.
Audit Field Fill Rates: Measure Extraction Quality Locally
Build a local audit script that scores scraped datasets by field fill rate, null clusters, and stale values before bad rows reach your warehouse.
Break Down Scrape Latency: A Timing Harness You Can Run
Instrument a scraping pipeline from DNS to full render, log per-stage timings in Python, and compute p50/p95/p99 to find where each request spends its time.
Forecast Scrape Spend: A Budget Model You Can Recompute
Turn success rates, retry multipliers, and rendering overhead into a scraping budget you can defend, with formulas and worked numbers you can recompute.
Trim Scraped Pages Before They Flood the Agent Context
Tutorial: shrink live web pages before they reach an MCP-connected agent. Trim, chunk, and convert scraped HTML so tool output fits the context window.
Measure Your Scraper's Real Success Rate Locally
Build a small Python harness that logs every scrape attempt and computes success rate, latency percentiles, and block rates you can actually trust.
What One Successful Page Actually Costs: A Unit Model
Build a per-page cost model for scraping: retries, rendering, proxy traffic, and CAPTCHA solving, with worked numbers you can recompute for your own budget.
Hidden JSON Endpoints vs DOM Parsing: What to Scrape
Modern sites ship data as embedded JSON. Compare parsing the DOM with tapping hidden JSON endpoints: fidelity, selector drift, and the cost of failed probes.
Sitemap Crawling vs Link Discovery: Coverage and Cost
Compare sitemap-first and link-following crawls: coverage, freshness, dead-URL waste, and how billed failures change the math for each path.
Parse at Fetch Time vs Store Raw HTML: Pipeline Trade-offs
Compare parsing scraped pages at fetch time against storing raw HTML first: reprocessing, schema drift, storage cost, and retry economics.
Batch Requests vs Single Calls: Scraping Pattern Trade-offs
Compare batching and single-request scraping patterns: throughput, retry logic, cost control, and why billing only successful requests changes the math.
On-Demand Scraping vs Prefetched Data: Serving Trade-offs
Latency, freshness, and cost per served result: when to scrape in the request path versus harvest ahead into storage, and what failed fetches cost.
Avoid CAPTCHAs vs Solve Them: Strategy Trade-offs
Two ways to deal with CAPTCHAs at scale: engineer them away with stealth or pay to solve each one. An honest comparison of cost, latency, and success rates.
CSS Selectors vs LLM Extraction: What Breaks First
Selectors are cheap and brittle; LLM extraction handles messy pages but bills per run. Compare accuracy, drift, maintenance, and the cost of failures.
Re-Scrape vs Change Detection: Choosing a Refresh Strategy
Compare scheduled full re-scrapes with change detection using ETags, sitemap lastmod, and content hashing — the bandwidth, freshness, and complexity trade-offs.
Buying Datasets vs Scraping Them Fresh: Sourcing Trade-offs
Compare buying ready-made datasets against scraping fresh data on cost, freshness, coverage, and control — and learn when a hybrid sourcing strategy wins.
Official API vs Web Scraping: Choosing a Data Source
Official API or web scraping? Compare data coverage, rate limits, pricing on failed requests, and maintenance overhead before committing to one.
Own Proxy Pool vs Managed Rotation: When to Build
Honest trade-offs between running your own proxy pool and managed rotation — uptime, block rates, and who pays for failed requests.
Client-Side vs Service-Side Retries for Scraping Failures
Compare handling failed scrape requests in your own code versus letting a scraping service retry internally — and what each approach costs per attempt.
JS Rendering vs Plain HTTP: The Real Cost of Every Scrape
Compare always-on JS rendering with plain HTTP scraping: speed, success rates, and per-request cost. Learn when rendering pays off and when it wastes budget.
Success-Based vs Metered Scraping API Billing Models
Compare success-based and pay-per-request scraping API billing: how failed requests hit your budget, and how to model real cost per successful page.
Sync vs Async Scraping: When Blocking Requests Are Enough
Compare sync and async scraping: throughput, rate limits, debugging, and cost per successful request. Learn when blocking code wins and when fan-out pays off.
Beyond GET: MCP send_http_request for Write Methods
Teach an AI agent to send POST, PUT, PATCH, and DELETE through an MCP send_http_request tool, with idempotency keys, guardrails, and retry logic.
MCP Tools for AI Agents: Auth Scopes and Failure Modes
A hands-on tutorial on designing MCP tools that let an AI agent fetch live web data: batching, token scopes, retries, and failure handling.
TCP/IP Fingerprinting: OS Clues in the SYN Packet
Capture TCP/IP fingerprints from SYN fields — TTL, window, MSS, option order, DF — with a scapy sniffer on your host. See why the OS stack leaks below TLS.
HTTP/2 Fingerprinting: Capture Client Frame Signatures
Capture HTTP/2 fingerprints from SETTINGS, WINDOW_UPDATE, PRIORITY, and pseudo-header order using a local Python listener you control.
Headless Browser Detection: What Test Pages Check
Public test pages reveal why default Playwright and Selenium fail headless checks—webdriver, WebGL, plugins, CDP—and what stealth setups change.
JA3/JA4 TLS Fingerprints Across HTTP Clients
Compare JA3 and JA4 TLS fingerprints across requests, curl, Go, Node, and browsers. Capture your own hashes with a runnable Python script.
Anti-Bot Detection: How Cloudflare, DataDome, and PerimeterX Work
How modern anti-bot systems detect scrapers in 2026: IP reputation, TLS fingerprinting, JS challenges, behavioral analysis, and device fingerprinting explained.
Building ETL Pipelines with Web Scraping APIs
Learn how to build production-ready ETL pipelines using web scraping APIs. Covers extraction, transformation, loading, scheduling, and monitoring.
The Future of Web Scraping: AI, LLMs, and Structured Extraction
Explore how AI and large language models are transforming web scraping with natural language queries, intelligent extraction, and the MCP protocol.
MCP Protocol: How to Connect AI Agents to Web Data
Guide to the Model Context Protocol (MCP) for connecting AI agents to live web data. Set up FineData's MCP server with Cursor IDE and Claude Desktop.
Proxy Rotation Strategies for Large-Scale Web Scraping
Technical guide to proxy rotation for web scraping: datacenter vs residential vs mobile proxies, rotation strategies, IP ban detection, and cost optimization.
Scaling Web Scraping from 1K to 10M Pages per Day
Architecture guide for scaling web scraping from thousands to millions of pages per day. Covers async patterns, queues, rate limiting, distributed systems, and cost optimization.
Web Scraping API vs DIY: Total Cost of Ownership Analysis
Detailed cost comparison of building web scraping infrastructure in-house vs using a scraping API. Includes developer time, proxies, CAPTCHAs, and maintenance.
Selenium vs Puppeteer vs Playwright vs Scraping API: Complete Comparison
Head-to-head comparison of Selenium, Puppeteer, Playwright, and scraping APIs for web scraping. Architecture, performance, anti-bot handling, and scaling.
TLS Fingerprinting Explained: How Anti-Bot Systems Detect Scrapers
TLS fingerprinting explained: how JA3/JA4 hashes let Cloudflare, Akamai, and other anti-bot systems detect scrapers from the TLS client hello alone.
Web Scraping Legal Guide: GDPR, CCPA, and robots.txt
Legal guide to web scraping in 2026: court cases, GDPR, CCPA, robots.txt, Terms of Service, and best practices for compliant and ethical data collection.