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.

Apply suggestions from code review

Kristo Isberg1e9018b5b572
diff --git a/user_scanner/user_scan/other/polarsteps.py b/user_scanner/user_scan/other/polarsteps.py
index f0930cb..80ce55a 100644
--- a/user_scanner/user_scan/other/polarsteps.py
+++ b/user_scanner/user_scan/other/polarsteps.py
@@ -10,7 +10,7 @@ def validate_polarsteps(user: str) -> Result:
show_url = f"https://www.polarsteps.com/{encoded_user}"
headers = {
"Accept": "application/json",
- "Polarsteps-API-Version": "61",
+ "Polarsteps-API-Version": "61", # bump if module starts erroring on all lookups
}
def process(response):
@@ -22,6 +22,12 @@ def validate_polarsteps(user: str) -> Result:
if not isinstance(data, dict):
return Result.error("Unexpected response body")
+ if data.get("error") == "api_version_too_old_for_endpoint":
+ return Result.error(
+ f"Polarsteps API version outdated β€” requires v{data.get('required_version')}, "
+ f"update 'Polarsteps-API-Version' header in polarsteps.py"
+ )
+
if response.status_code == 404 and data == {"detail": "Not Found"}:
return Result.available()