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.
- 01Generate your endpoint
Choose HTTP / HTTPS and Every request for independent observations in Configure proxies.
- 02Set your proxy URL
Set
PS_PROXY_URLtohttp://USERNAME:PASSWORD@HOST:PORTusing your generated endpoint. For IP authentication, whitelist your machine and usehttp://HOST:PORT. Percent-encode special characters in credentials; these are proxy credentials, separate from your account password or API key. - 03Choose the destination
Set
Example URL · replace placeholders with your targetPS_TARGET_URLbefore 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.https://example.com/guides/crawl-test-pageSet PS_EXPECT_TEXT to the exact canonical URL expected in this document's source. This optional check inspects the returned text without running JavaScript.
Python 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.
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.
{
"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.
| Checkpoint | Hold constant or record | Expected evidence |
|---|---|---|
| Inventory | Approved URL set | No uncontrolled discovery |
| Response | Status and final URL | Redirects and failures classified |
| Content | Canonical, heading, and expected text | The correct indexable document |
Troubleshoot Search-engine crawler QA results and connection errors
| Symptom | Check next | What the result tells you |
|---|---|---|
| 200 response with missing content | Compare rendered and initial document | Application rendering may be involved |
| Duplicate routes | Inspect canonical and redirects | Inventory normalization issue |
| Unexpected protected path | Stop at scope boundary | Do 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)