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(aljazeera.py): add new module to email_scan/news

kaifcodecab156c85c975
diff --git a/user_scanner/email_scan/news/aljazeera.py b/user_scanner/email_scan/news/aljazeera.py
new file mode 100644
index 0000000..773b253
--- /dev/null
+++ b/user_scanner/email_scan/news/aljazeera.py
@@ -0,0 +1,49 @@
+import httpx
+import json
+from user_scanner.core.result import Result
+
+
+async def _check(email: str) -> Result:
+ url = "https://identitytoolkit.googleapis.com/v1/accounts:createAuthUri"
+
+ params = {
+ 'key': "AIzaSyDWz9TZvPscN7qFdG6z1bvLh98eXVBSUPM"
+ }
+
+ payload = {
+ "identifier": email,
+ "continueUri": "https://www.aljazeera.com/account/sign-up"
+ }
+
+ 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",
+ 'Origin': "https://www.aljazeera.com",
+ 'Referer': "https://www.aljazeera.com/",
+ }
+
+ try:
+ async with httpx.AsyncClient(timeout=10.0) as client:
+ response = await client.post(url, params=params, content=json.dumps(payload), headers=headers)
+ data = response.json()
+
+ is_registered = data.get("registered")
+
+ if is_registered is True:
+ return Result.taken()
+
+ if is_registered is False:
+ return Result.available()
+
+ return Result.error("Unexpected response body, report it on github")
+
+ except httpx.ConnectTimeout:
+ return Result.error("Connection timed out while reaching Al Jazeera Auth")
+ 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_aljazeera(email: str) -> Result:
+ return await _check(email)