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.

rm: Remove custom headers to use pre-defined one from core

kaifcodecd09a39b2c228
diff --git a/user_scanner/user_scan/community/lemmy.py b/user_scanner/user_scan/community/lemmy.py
index ebf6e5a..393d481 100644
--- a/user_scanner/user_scan/community/lemmy.py
+++ b/user_scanner/user_scan/community/lemmy.py
@@ -4,10 +4,8 @@ from user_scanner.core.result import Result
def validate_lemmy(user: str) -> Result:
- """
- Check username availability on Lemmy (lemmy.world instance).
+ """ Check username availability on Lemmy (lemmy.world instance)"""
- """
# Lemmy username rules: 3-20 chars, alphanumeric and underscores only
if not (3 <= len(user) <= 20):
return Result.error("Length must be 3-20 characters")
@@ -17,13 +15,7 @@ def validate_lemmy(user: str) -> Result:
url = f"https://lemmy.world/api/v3/user?username={user}"
- headers = {
- "User-Agent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36",
- "Accept": "application/json",
- "Accept-Encoding": "gzip, deflate, br, zstd",
- }
-
- return status_validate(url, [400, 404], 200, headers=headers, timeout=5.0)
+ return status_validate(url, [400, 404], 200, timeout=5.0)
if __name__ == "__main__":