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: enable follow redirects to true for goodreads and weebly

Kaifb5ab47fa6c31
diff --git a/user_scanner/user_scan/social/goodreads.py b/user_scanner/user_scan/social/goodreads.py
index ed41fa5..b1fa76f 100644
--- a/user_scanner/user_scan/social/goodreads.py
+++ b/user_scanner/user_scan/social/goodreads.py
@@ -9,9 +9,10 @@ def validate_goodreads(user):
"User-Agent": get_random_user_agent(),
}
- resp = make_request(url, headers=headers, http2=True)
+ resp = make_request(url, headers=headers, http2=True, follow_redirects=True)
+ final_url = str(resp.url)
if resp.status_code == 404:
- return Result.available(url=url)
+ return Result.available(url=final_url)
elif resp.status_code == 200:
extra = {}
title_match = re.search(r'<title>(.*?)</title>', resp.text, re.IGNORECASE)
@@ -20,6 +21,6 @@ def validate_goodreads(user):
name_match = re.search(r'<meta[^>]*property=["\']og:title["\'][^>]*content=["\']([^"\']+)["\']', resp.text, re.IGNORECASE)
if name_match:
extra["name"] = name_match.group(1).replace(' (', '').strip()
- return Result.taken(extra=extra, url=url)
+ return Result.taken(extra=extra, url=final_url)
raise Exception(f"Unexpected status code {resp.status_code}")
diff --git a/user_scanner/user_scan/social/weebly.py b/user_scanner/user_scan/social/weebly.py
index 7c279eb..14e1b4d 100644
--- a/user_scanner/user_scan/social/weebly.py
+++ b/user_scanner/user_scan/social/weebly.py
@@ -3,13 +3,13 @@ from user_scanner.core.helpers import get_random_user_agent
from user_scanner.core.orchestrator import Result, make_request
def validate_weebly(user):
- url = f"http://{user}.weebly.com/"
+ url = f"https://{user}.weebly.com/"
headers = {
"User-Agent": get_random_user_agent(),
}
- resp = make_request(url, headers=headers, http2=True)
+ resp = make_request(url, headers=headers, http2=True, follow_redirects=True)
if resp.status_code == 404:
return Result.available(url=url)
elif resp.status_code == 200: