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.

1.8 KB
Raw Blame
import re
from user_scanner.core.impersonate import impersonate_validate
from user_scanner.core.result import Result


def validate_babepedia(user):
    url = f"https://www.babepedia.com/user/{user}"
    show_url = url

    def process(response):
        if response.status_code == 200 and "'s Profile</title>" in response.text:
            extra = {}

            # Extract standard account info fields from the Profile Page table
            status_match = re.search(
                r"Account status:.*?<span[^>]*>(.*?)</span>", response.text, re.DOTALL | re.IGNORECASE)
            if status_match:
                extra["status"] = status_match.group(1).strip()

            signup_match = re.search(
                r"Signed up on:.*?<td>(.*?)</td>", response.text, re.DOTALL | re.IGNORECASE)
            if signup_match:
                extra["signup_date"] = signup_match.group(1).strip()

            seen_match = re.search(
                r"Last seen on:.*?<td>(.*?)</td>", response.text, re.DOTALL | re.IGNORECASE)
            if seen_match:
                extra["last_seen"] = seen_match.group(1).strip()

            logins_match = re.search(
                r"Logins:.*?<td>(.*?)</td>", response.text, re.DOTALL | re.IGNORECASE)
            if logins_match:
                extra["logins"] = logins_match.group(1).strip()

            views_match = re.search(
                r"Views of this page:.*?<td>(.*?)</td>", response.text, re.DOTALL | re.IGNORECASE)
            if views_match:
                extra["views"] = views_match.group(1).strip()

            return Result.taken(extra=extra, url=show_url)

        if "Profile not found" in response.text:
            return Result.available(url=show_url)

        return Result.error("Unexpected response body, report it via GitHub issues", url=show_url)

    return impersonate_validate(url, process, show_url=show_url)