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(spotify.py): Assignment removed to satisfy Ruff F841

kaifcodec2d27c06b4997
diff --git a/user_scanner/email_scan/entertainment/spotify.py b/user_scanner/email_scan/entertainment/spotify.py
index 4c78e48..bcad9ba 100644
--- a/user_scanner/email_scan/entertainment/spotify.py
+++ b/user_scanner/email_scan/entertainment/spotify.py
@@ -2,6 +2,7 @@ import httpx
import json
from user_scanner.core.result import Result
+
async def _check(email: str) -> Result:
async with httpx.AsyncClient(http2=False, follow_redirects=True) as client:
try:
@@ -23,7 +24,7 @@ async def _check(email: str) -> Result:
'priority': "u=0, i"
}
- res_get = await client.get(get_url, headers=get_headers)
+ await client.get(get_url, headers=get_headers)
post_url = "https://spclient.wg.spotify.com/signup/public/v2/account/validate"
@@ -76,10 +77,11 @@ async def _check(email: str) -> Result:
elif "success" in data:
return Result.available()
- return Result.error(f"Unexpected error [{resposnse.status_code}], report it via GitHub issues")
+ return Result.error(f"Unexpected error [{response.status_code}], report it via GitHub issues")
except Exception as e:
return Result.error(f"Exception: {e}")
+
async def validate_spotify(email: str) -> Result:
return await _check(email)