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.

ruff_fix(lastfm.py): unused local variable `init_res` removed

kaifcodec98ef31dbce16
diff --git a/user_scanner/email_scan/music/lastfm.py b/user_scanner/email_scan/music/lastfm.py
index 00a7a68..b4d268d 100644
--- a/user_scanner/email_scan/music/lastfm.py
+++ b/user_scanner/email_scan/music/lastfm.py
@@ -13,8 +13,8 @@ async def _check(email: str) -> Result:
}
try:
- async with httpx.AsyncClient(timeout=5.0, follow_redirects=True) as client:
- init_res = await client.get("https://www.last.fm/join", headers=headers)
+ async with httpx.AsyncClient(timeout=10.0, follow_redirects=True) as client:
+ await client.get("https://www.last.fm/join", headers=headers)
token = client.cookies.get("csrftoken")
if not token:
@@ -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(e)
+ return Result.error(str(e))
async def validate_lastfm(email: str) -> Result: