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.

implement Result class

kaifcodecf602872e557d
diff --git a/user_scanner/social/soundcloud.py b/user_scanner/social/soundcloud.py
index 19776aa..5b67361 100644
--- a/user_scanner/social/soundcloud.py
+++ b/user_scanner/social/soundcloud.py
@@ -1,4 +1,5 @@
from user_scanner.core.orchestrator import generic_validate
+from user_scanner.core.result import Result
def validate_soundcloud(user):
@@ -11,22 +12,21 @@ def validate_soundcloud(user):
def process(response):
if response.status_code == 404:
- return 1
-
+ return Result.available()
+
if response.status_code == 200:
text = response.text
-
+
if f'soundcloud://users:{user}' in text:
- return 0
+ return Result.taken()
if f'"username":"{user}"' in text:
- return 0
-
+ return Result.taken()
if 'soundcloud://users:' in text and '"username":"' in text:
- return 0
-
- return 1
-
- return 2
+ return Result.taken()
+
+ return Result.available()
+
+ return Result.error()
return generic_validate(url, process, headers=headers, follow_redirects=True)
@@ -40,4 +40,4 @@ if __name__ == "__main__":
elif result == 0:
print("Unavailable!")
else:
- print("Error occured!")
\ No newline at end of file
+ print("Error occured!")