Skip to content

🕵️‍♂️ (2-in-1) Email & Username OSINT suite featuring native MCP support for deep data extraction just from a single Email/Username. Analyzes 2720+ actively maintained scan vectors (210+ email / 2510+ username) for security research, investigations, and digital footprinting.

docs: clarify impersonated validation

w3lld1542e350cde53
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7ea92a8..726672c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -192,6 +192,7 @@ def validate_example(user: str) -> Result:
- `warmup_url` optionally fetches a page once per session before the main request so the session can obtain clearance cookies.
- `impersonate` selects the browser profile and defaults to `"chrome"`.
- `show_url` controls the URL attached to the returned `Result`; it defaults to the request URL.
+ - `allow_redirects` defaults to `False`, unlike httpx's `follow_redirects=True` in the `generic_validate` example. Pass `allow_redirects=True` when the profile URL redirects. Additional keyword arguments are forwarded to `impersonate_request`.
```python
from user_scanner.core.impersonate import impersonate_validate
@@ -202,9 +203,9 @@ def validate_example(user: str) -> Result:
url = f"https://www.example.com/profile/{user}"
def process(response):
- if response.status_code == 404:
+ if response.status_code == 404 and "User does not exist" in response.text:
return Result.available()
- if response.status_code == 200 and user.lower() in response.text.lower():
+ if response.status_code == 200 and f'profile/{user}' in response.text:
return Result.taken()
return Result.error(f"Unexpected response status: {response.status_code}")