🕵️♂️ (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.
Python cybersecuritycybersecurity-toolsemail-osintethical-hackingethical-hacking-toolsidentificationinfosecosintosint-emailosint-toolosint-toolsosint-usernamepentestingpythonredteam-toolsredteamingthreat-intelligence
fix(huggingface.py): fix conditions as per new response body of server
kaifcodecd67962795b1a
diff --git a/user_scanner/email_scan/dev/huggingface.py b/user_scanner/email_scan/dev/huggingface.pyindex c86c666..9b06ca0 100644--- a/user_scanner/email_scan/dev/huggingface.py+++ b/user_scanner/email_scan/dev/huggingface.py@@ -15,19 +15,20 @@ async def _check(email: str) -> Result:async with httpx.AsyncClient(http2=True) as client:try:response = await client.get(url, params=params, headers=headers, timeout=5)+ res_text = response.text+ st_code = response.status_code- if response.status_code == 429:+ if st_code == 429:return Result.error("Rate limited wait for few minutes")- if response.status_code == 400:- data = response.json()- if "already exists" in data.get("error", ""):+ if st_code == 200:+ if "already exists" in res_text:return Result.taken()- if response.status_code == 200:- return Result.available()+ if "This email address is available." in res_text:+ return Result.available()- return Result.error(f"HTTP Error: {response.status_code}")+ return Result.error(f"HTTP Error: {response.status_code}, report it via GitHub issues")except Exception as e:return Result.error(e)