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.

853 B
Raw Blame
import re
from user_scanner.core.orchestrator import Result, make_request


def validate_ameblo(user):
    url = f"https://ameblo.jp/{user}"
    show_url = f"https://ameblo.jp/{user}"

    try:
        response = make_request(url, follow_redirects=True)
        if response.status_code == 200:
            html = response.text
            extra = {}
            title = re.search(r'<title>([^<]+)</title>', html)
            if title:
                extra["name"] = title.group(1).replace("プロフィール", "").strip()
            return Result.taken(extra=extra, url=show_url)
        elif response.status_code == 404:
            return Result.available(url=show_url)
        else:
            return Result.error(f"Unexpected status: {response.status_code}", url=show_url)
    except Exception as e:
        return Result.error(e, url=show_url)