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(email_scan): handle Facebook rate-limiting response gracefully

Kaiff234793e5a12
diff --git a/user_scanner/email_scan/social/facebook.py b/user_scanner/email_scan/social/facebook.py
index 46099fd..8601309 100644
--- a/user_scanner/email_scan/social/facebook.py
+++ b/user_scanner/email_scan/social/facebook.py
@@ -94,7 +94,9 @@ async def _check(email: str) -> Result:
response = await client.post(url3, params=params3, data=payload3, headers=headers3)
body = response.text
- if "These accounts matched your search" in body or "redirectPageTo" in body:
+ if "error\":3252001" in body or "temporarily blocked" in body:
+ return Result.error("Rate limited by Facebook (IP blocked)")
+ elif "These accounts matched your search" in body or "redirectPageTo" in body:
return Result.taken(url=show_url)
elif "No search results" in body or "Your search did not return any results." in body:
return Result.available(url=show_url)