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.

add(indiatimes.py): add new module to email_scan/news

kaifcodec4816dd3ebabe
diff --git a/user_scanner/email_scan/news/indiatimes.py b/user_scanner/email_scan/news/indiatimes.py
new file mode 100644
index 0000000..ac42d72
--- /dev/null
+++ b/user_scanner/email_scan/news/indiatimes.py
@@ -0,0 +1,52 @@
+import httpx
+import json
+from user_scanner.core.result import Result
+
+
+async def _check(email: str) -> Result:
+ url = "https://jsso.indiatimes.com/sso/crossapp/identity/web/checkUserExists"
+
+ payload = {
+ "identifier": email
+ }
+
+ headers = {
+ 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Mobile Safari/537.36",
+ 'Content-Type': "application/json",
+ 'sdkversion': "0.8.1",
+ 'channel': "toi",
+ 'platform': "WAP",
+ 'Origin': "https://timesofindia.indiatimes.com",
+ 'Referer': "https://timesofindia.indiatimes.com/",
+ }
+
+ try:
+
+ async with httpx.AsyncClient(timeout=5.0) as client:
+ response = await client.post(url, content=json.dumps(payload), headers=headers)
+
+ response.raise_for_status()
+ data = response.json()
+
+ user_status = data.get("data", {}).get("status", "")
+
+ if user_status == "VERIFIED_EMAIL":
+ return Result.taken()
+
+ elif user_status == "UNREGISTERED_EMAIL":
+ return Result.available()
+ elif user_status == "UNVERIFIED_EMAIL":
+ return Result.taken("However email is not verfied on the site")
+
+ return Result.error("Unexpected response body, report it on github")
+
+ except httpx.ConnectTimeout:
+ return Result.error("Connection timed out! maybe region blocks")
+ except httpx.ReadTimeout:
+ return Result.error("Server took too long to respond (Read Timeout)")
+ except Exception as e:
+ return Result.error(e)
+
+
+async def validate_indiatimes(email: str) -> Result:
+ return await _check(email)