🕵️♂️ (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(duolingo): extract additional user data like streak and picture
Kaif91d5161252a1
diff --git a/user_scanner/email_scan/learning/duolingo.py b/user_scanner/email_scan/learning/duolingo.pyindex 936216e..001ccec 100644--- a/user_scanner/email_scan/learning/duolingo.py+++ b/user_scanner/email_scan/learning/duolingo.py@@ -23,7 +23,29 @@ async def _check(email: str) -> Result:data = response.json()# Duolingo returns a list of users matching the emailif data.get("users") and len(data["users"]) > 0:- return Result.taken(url=show_url)+ user = data["users"][0]+ extra = {}++ if user.get("name"):+ extra["name"] = user["name"]+ if user.get("username"):+ extra["username"] = user["username"]+ if "streak" in user:+ extra["streak"] = user["streak"]+ if "hasPlus" in user:+ extra["has_plus"] = user["hasPlus"]+ if "hasGoogleId" in user:+ extra["has_google_id"] = user["hasGoogleId"]+ if "hasFacebookId" in user:+ extra["has_facebook_id"] = user["hasFacebookId"]++ pic = user.get("picture")+ if pic:+ if pic.startswith("//"):+ pic = "https:" + pic+ extra["picture"] = pic++ return Result.taken(url=show_url, extra=extra)else:return Result.available(url=show_url)