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(mypy): import errors

kaifcodec21a04af0f9c4
diff --git a/user_scanner/core/email_orchestrator.py b/user_scanner/core/email_orchestrator.py
index b1211cd..83857c4 100644
--- a/user_scanner/core/email_orchestrator.py
+++ b/user_scanner/core/email_orchestrator.py
@@ -1,8 +1,7 @@
import asyncio
from pathlib import Path
from types import ModuleType
-from typing import List
-
+from typing import List, Optional, Set
from colorama import Fore, Style
from user_scanner.core.helpers import find_category, load_categories, load_modules
@@ -14,7 +13,7 @@ MAX_CONCURRENT_REQUESTS = 25
async def _async_worker(module: ModuleType, email: str, sem: asyncio.Semaphore,
show_url: bool = False, only_found: bool = False,
- printed_cats: set = None) -> Result:
+ printed_cats: Optional[Set] = None) -> Result:
async with sem:
module_name = module.__name__.split(".")[-1]
func_name = f"validate_{module_name}"
@@ -55,7 +54,7 @@ async def _async_worker(module: ModuleType, email: str, sem: asyncio.Semaphore,
async def _run_batch(modules: List[ModuleType], email: str, show_url: bool = False,
- only_found: bool = False, printed_cats: set = None) -> List[Result]:
+ only_found: bool = False, printed_cats: Optional[Set] = None) -> List[Result]:
sem = asyncio.Semaphore(MAX_CONCURRENT_REQUESTS)
tasks = []
for module in modules: