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.

mypy fixes

kaifcodec475c6db4703f
diff --git a/user_scanner/core/orchestrator.py b/user_scanner/core/orchestrator.py
index 0ae423f..1711713 100644
--- a/user_scanner/core/orchestrator.py
+++ b/user_scanner/core/orchestrator.py
@@ -27,7 +27,8 @@ def _worker_single(module: ModuleType, username: str) -> Result:
return result
except Exception as e:
return Result.error(e, site_name=site_name, username=username)
-
+
+
def run_user_module(module: ModuleType, username: str) -> List[Result]:
result = _worker_single(module, username)
@@ -82,24 +83,18 @@ def make_request(url: str, **kwargs) -> httpx.Response:
if "timeout" not in kwargs:
kwargs["timeout"] = 5.0
- # Add proxy if available and not already set
if "proxy" not in kwargs:
- proxy = get_proxy()
- if proxy:
- kwargs["proxy"] = proxy
+ proxy_val = get_proxy()
+ else:
+ proxy_val = kwargs.pop("proxy")
- # Extract our custom flags
method = kwargs.pop("method", "GET")
use_http2 = kwargs.pop("http2", False)
- proxy = kwargs.pop("proxy", None)
- # Use the client to respect the http2 and proxy settings
- with httpx.Client(http2=use_http2, proxies=proxy) as client:
+ with httpx.Client(http2=use_http2, proxy=proxy_val) as client:
return client.request(method.upper(), url, **kwargs)
-
-
def generic_validate(url: str, func: Callable[[httpx.Response], Result], **kwargs) -> Result:
"""
A generic validate function that makes a request and executes the provided function on the response.