WORKFLOW SNAPSHOT
- Collect a bounded set of public brand references for human review.
- Suggested starting behavior: Static assignment
- Validate the real application and destination
A practical Brand protection workflow
Collect a bounded set of public brand references for human review.
- Record source URL, observation time, and relevant visible claims.
- Keep screenshots and extracted text tied to the same page version.
- Separate possible matches from verified ownership or enforcement findings.
Why keep a brand-evidence capture on a stable route?
Use a steady assignment while capturing a permitted public reference and its surrounding context. Regional comparison should use a separate documented observation. An exit change alone does not establish who published material or whether an infringement occurred.
Which provenance checks matter before collecting more brand references?
A matching logo or keyword does not establish legal infringement. Proxy observations support evidence collection, not legal conclusions or takedown authority.
Have the brand owner review uncertain matches and use official reporting channels for any authorized action.
Verify the Brand protection connection boundary
Record source URL, timestamp, visible brand reference and regional context. Preserve enough surrounding content for a human reviewer. A keyword match should not automatically become a legal or identity conclusion.
Preserve a public brand reference for human review
Fetches one public reference document and saves a hash that links the returned source to a specific brand-monitoring observation.
- 01Generate your endpoint
Choose HTTP / HTTPS and Sticky session for the complete workflow 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 the exact permitted public listing or webpage containing the brand reference under review, with source URL, region and observation time recorded.https://example.com/public-listings/brand-referenceSet PS_EXPECT_TEXT to the specific public brand name or claim being reviewed. This optional check inspects the returned text without running JavaScript.
Python 3.10+ · python -m pip install requests · python ps_brand_protection.py# Fetches one public reference document and saves a hash that links the returned source to a specific brand-monitoring observation.
# Use the exact permitted public listing or webpage containing the brand reference under review, with source URL, region and observation time recorded.
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/public-listings/brand-reference
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("brand-reference-evidence.html").write_bytes(body)
print(json.dumps({
"workflow": "brand-protection", "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', 'Content-Language', 'Location']},
}, 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.
Inspect the expected reference and surrounding text, and retain status and cache context with the body. A keyword match identifies text in this response; it does not establish publisher identity, ownership or infringement, and any browser screenshot should be tied to the same observation for human review.
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: prepare evidence for human brand review
Collect a bounded set of public references with source URLs, observation times, and the visible claims relevant to the brand owner. Preserve screenshots and extracted text from the same observation where needed.
Keep possible matches separate from verified findings. A shared logo or name alone does not establish ownership, infringement, or authority to remove a listing.
{
"source_url": "PUBLIC_REFERENCE",
"observed_at": "RECORD_TIMESTAMP",
"visible_claim": "RECORD_CLAIM",
"review_state": "PENDING_HUMAN_REVIEW"
}Brand protection verification checklist
For this Brand protection workflow, record reference, observation and review status 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 |
|---|---|---|
| Reference | Exact public source | Traceable evidence |
| Observation | Time and visible claim | A version-specific record |
| Review status | Possible match or reviewed finding | No unsupported enforcement conclusion |
Troubleshoot Brand protection results and connection errors
| Symptom | Check next | What the result tells you |
|---|---|---|
| Many keyword matches | Review identity and context | Text overlap is not proof |
| Screenshot and text conflict | Check collection times | Different page versions may be involved |
| Report implies infringement | Separate observation from review | Legal assessment needs additional evidence |
Keep observed brand evidence separate from the reviewer’s conclusion
Collect a small bounded sample and verify that each record links to the actual observed page. Keep duplicate rules and review status explicit. Escalate evidence with provenance rather than treating a network response or similarity score as a final determination.
A LITTLE CLARITY
Common questions.
Can a proxy determine whether a listing infringes a brand?
No. It can support observation; ownership and legal assessment require separate evidence.
What should the collection system avoid deciding automatically?
Ownership, infringement, or enforcement authority should not be inferred from a route observation alone.
Which provenance checks matter before collecting more brand references?
Record source URL, timestamp, visible brand reference and regional context. Preserve enough surrounding content for a human reviewer. A keyword match should not automatically become a legal or identity conclusion.