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.

refactor(lastfm.py): timeout fix

Kaif23ecde7ad6f2
diff --git a/user_scanner/email_scan/music/lastfm.py b/user_scanner/email_scan/music/lastfm.py
index b4d268d..2f031e4 100644
--- a/user_scanner/email_scan/music/lastfm.py
+++ b/user_scanner/email_scan/music/lastfm.py
@@ -13,7 +13,7 @@ async def _check(email: str) -> Result:
}
try:
- async with httpx.AsyncClient(timeout=10.0, follow_redirects=True) as client:
+ async with httpx.AsyncClient(timeout=5.0, follow_redirects=True) as client:
await client.get("https://www.last.fm/join", headers=headers)
token = client.cookies.get("csrftoken")
@@ -53,7 +53,7 @@ async def _check(email: str) -> Result:
except httpx.TimeoutException:
return Result.error("Connection timed out")
except Exception as e:
- return Result.error(str(e))
+ return Result.error(e)
async def validate_lastfm(email: str) -> Result: