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.

752 B
Raw Blame
from user_scanner.core.orchestrator import generic_validate, Result
import re

def validate_americanthinker(user):
    url = f"https://www.americanthinker.com/author/{user}/"
    show_url = url

    def process(response):
        if response.status_code == 200:
            extra = {}
            name_match = re.search(r'<h3 class="author_name">([^<]+)</h3>', response.text)
            if name_match:
                extra["name"] = name_match.group(1).strip()
            return Result.taken(extra=extra)
        elif response.status_code == 404:
            return Result.available()
        return Result.error(f"Unexpected status code {response.status_code}")

    return generic_validate(url, process, show_url=show_url, follow_redirects=False)