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.

fix(core): clean curl_cffi timeout errors and prevent redundant timeouts

Kaif7f34cce3ce18
diff --git a/user_scanner/core/result.py b/user_scanner/core/result.py
index d8e43fa..654b604 100644
--- a/user_scanner/core/result.py
+++ b/user_scanner/core/result.py
@@ -59,6 +59,9 @@ def humanize_exception(e: Exception) -> str:
if "errno 101" in msg or "network is unreachable" in msg:
return "Network unreachable (Is your internet on?)"
+ if "curl: (28)" in msg or "connection timed out" in msg:
+ return "Connection timed out (try a VPN if the site is blocked in your region)"
+
return str(e)
diff --git a/user_scanner/user_scan/gaming/apexlegends.py b/user_scanner/user_scan/gaming/apexlegends.py
index 05a66bd..be72de8 100644
--- a/user_scanner/user_scan/gaming/apexlegends.py
+++ b/user_scanner/user_scan/gaming/apexlegends.py
@@ -27,8 +27,7 @@ def validate_apexlegends(user: str) -> Result:
f"{API_URL}/{platform}/{user}", headers=HEADERS
)
except Exception as e:
- errors.append(f"{platform}: {e}")
- continue
+ return Result.error(e, url=show_url)
if response.status_code == 404:
continue