Skip to content

USE CASE / DATA & RESEARCH

Search-engine crawler QA proxy workflows

Test how your own site responds to an authorized crawler with clear request budgets, robots rules, and reproducible parsing.

In this guide

WORKFLOW SNAPSHOT

  • Audit a bounded URL set on your site for indexable content, redirects, and response consistency.
  • Suggested starting behavior: Per-request rotation
  • Validate the real application and destination

A practical Search-engine crawler QA workflow

Audit a bounded URL set on your site for indexable content, redirects, and response consistency.

  • Read and respect the site’s robots instructions and access policy.
  • Fetch canonical pages with a stable user-agent and controlled cadence.
  • Classify redirects, error pages, and complete content separately.

When can a crawler QA run use independent proxy assignments?

Use independent routes for independent permitted URL checks when a regional comparison needs them. Keep a redirect chain or session-dependent journey together. The proxy is a test input; it does not make your crawler an official search-engine bot.

Which status, canonical and indexability checks come before a larger crawl?

Changing IPs does not make a crawler a search engine or provide permission to ignore access restrictions.

Compare canonical URLs, headings, status codes, and parsed content against the expected site inventory.

Verify the Search-engine crawler QA connection boundary

Record requested and final URLs, response status, robots directives, canonical and expected content. Compare raw HTML and rendered results only when the test specifies which representation is authoritative.

Audit one URL before expanding a crawler QA run

Fetches one owned-site document and inspects its server-delivered SEO signals before the URL is admitted to a larger crawler audit.

  1. 01
    Generate your endpoint

    Choose HTTP / HTTPS and Every request for independent observations in Configure proxies.

  2. 02
    Set your proxy URL

    Set PS_PROXY_URL to http://USERNAME:PASSWORD@HOST:PORT using your generated endpoint. For IP authentication, whitelist your machine and use http://HOST:PORT. Percent-encode special characters in credentials; these are proxy credentials, separate from your account password or API key.

  3. 03
    Choose the destination

    Set PS_TARGET_URL before running the code. Use one canonical HTTPS content URL from your own site's approved crawl inventory, within the configured request budget and robots rules.

    Example URL · replace placeholders with your targethttps://example.com/guides/crawl-test-page

    Set PS_EXPECT_TEXT to the exact canonical URL expected in this document's source. This optional check inspects the returned text without running JavaScript.

ps_search_engine_crawler.pyFetches one owned-site document and inspects its server-delivered SEO signals before the URL is admitted to a larger crawler audit.
Before you runPython 3.10+ · python -m pip install requests · python ps_search_engine_crawler.py
# Fetches one owned-site document and inspects its server-delivered SEO signals before the URL is admitted to a larger crawler audit.
# Use one canonical HTTPS content URL from your own site's approved crawl inventory, within the configured request budget and robots rules.
import hashlib
import json
import os
import time
from pathlib import Path
from urllib.parse import urlsplit

import requests

class InspectSession(requests.Session):
    # Leave redirect bodies streamed instead of preparing the next request.
    def resolve_redirects(self, *args, **kwargs):
        return iter(())

proxy = os.environ["PS_PROXY_URL"]  # HTTP endpoint from ProxySight
target = os.environ["PS_TARGET_URL"]  # https://example.com/guides/crawl-test-page
if urlsplit(proxy).scheme != "http":
    raise ValueError("Use your generated HTTP proxy endpoint for this example.")
if urlsplit(target).scheme not in ("http", "https"):
    raise ValueError("PS_TARGET_URL must be an HTTP or HTTPS URL.")

with InspectSession() as client:
    client.trust_env = False  # No ambient proxy, NO_PROXY or netrc overrides
    started = time.monotonic()
    with client.get(
        target,
        proxies={"http": proxy, "https": proxy},
        headers={"Accept-Language": "en-US,en;q=0.9"},
        timeout=(10, 20), allow_redirects=False, stream=True,
    ) as response:
        body = bytearray()
        for chunk in response.iter_content(16384):
            body.extend(chunk)
            if len(body) > 1048576:
                raise RuntimeError("Response exceeds this example's 1 MiB limit.")
        Path("crawler-url-audit.html").write_bytes(body)
        print(json.dumps({
            "workflow": "search-engine-crawler", "status": response.status_code,
            "elapsed_ms": round((time.monotonic() - started) * 1000),
            "bytes": len(body), "sha256": hashlib.sha256(body).hexdigest(),
            "headers": {name: response.headers.get(name) for name in ['Content-Type', 'X-Robots-Tag', 'Link']},
        }, indent=2))
        expected = os.getenv("PS_EXPECT_TEXT", "")
        if expected:
            text = body.decode(response.encoding or "utf-8", errors="replace")
            print("Expected text:", "found" if expected in text else "absent")
        # A 200 status alone does not prove the intended page was returned.
        # Inspect redirects, login prompts, 403 and 429 before another request.
Understand the result

Review status, redirect information, X-Robots-Tag, title, canonical and source headings against the intended inventory record. This ordinary client is not a search-engine crawler, and source availability does not prove rendered indexability, crawl scheduling or inclusion in an index.

Response bodies are limited to 1 MiB for a small diagnostic. TLS verification stays enabled; redirects are left for you to inspect. Connection guide

Example: audit a bounded inventory on your own site

Create the expected URL inventory before the crawl. For each route, define the canonical destination, expected response class, page identity, and relevant content assertions. Respect the site’s crawl instructions and approved request budget.

Compare rendered content when the site depends on JavaScript, but keep that result separate from the original response. A crawler should report what it observed rather than assume every fetched route is indexable.

Illustrative observation record · replace with your test data
{
  "url": "APPROVED_SITE_URL",
  "status": "RECORD_STATUS",
  "canonical": "RECORD_CANONICAL",
  "content_assertion": "RECORD_RESULT"
}

Search-engine crawler QA verification checklist

For this Search-engine crawler QA workflow, record inventory, response and content alongside the actual result. Use the evidence below to decide whether another observation is comparable before increasing the workload.

CheckpointHold constant or recordExpected evidence
InventoryApproved URL setNo uncontrolled discovery
ResponseStatus and final URLRedirects and failures classified
ContentCanonical, heading, and expected textThe correct indexable document

Troubleshoot Search-engine crawler QA results and connection errors

SymptomCheck nextWhat the result tells you
200 response with missing contentCompare rendered and initial documentApplication rendering may be involved
Duplicate routesInspect canonical and redirectsInventory normalization issue
Unexpected protected pathStop at scope boundaryDo not expand the crawl without approval

Follow each crawl observation from requested URL to final document

Begin with a known URL inventory on the site you control. Assert the expected indexability and document fields, retain redirect chains and classify unexpected soft-error pages. Increase coverage after discrepancies can be reproduced from the same client and visitor state.

A LITTLE CLARITY

Common questions.

Does a proxy make my crawler equivalent to Googlebot?

No. Search-engine identity and verification are separate from a proxy exit.

Why keep initial and rendered checks separate?

They describe different stages and help identify whether missing content is a response, routing, or rendering issue.

Which status, canonical and indexability checks come before a larger crawl?

Record requested and final URLs, response status, robots directives, canonical and expected content. Compare raw HTML and rendered results only when the test specifies which representation is authoritative.

REFERENCES & FURTHER READING

Robots Exclusion Protocol — RFC 9309 (opens in a new tab)

PUT THE KNOWLEDGE TO WORK

Your workflow.
Your next connection.

Try the controls, choose your IP behavior, and start with one clear connection check.

Explore the configurator ↗