Facility: 34

AAA Storage LLC (Chateau South)

Stale Data Warning: This facility has not been successfully scraped in 30 days (threshold: 3 days). Data may be outdated.
Facility Information active
Facility ID
34
Name
AAA Storage LLC (Chateau South)
URL
https://chateausouth-villageatwhitehall.com/aaa-storage-llc/
Address
N/A
Platform
custom_facility_34
Parser File
src/parsers/custom/facility_34_parser.py
Last Scraped
2026-03-23 03:15:17.796931
Created
2026-03-14 16:21:53.706708
Updated
2026-03-23 03:15:17.802693
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_34_parser.py)
"""Parser for AAA Storage at Chateau South / Village at White Hall."""
from __future__ import annotations

import re

from bs4 import BeautifulSoup

from src.parsers.base import BaseParser, ParseResult, UnitResult


class Facility34Parser(BaseParser):
    """Extract storage units from chateausouth-villageatwhitehall.com.

    Pricing is embedded in paragraph text as bold lines like:
        ``10 x 20 - $65.00 a month``
    Some units note "Currently Unavailable".
    """

    platform = "custom_facility_34"

    # Pattern: dimensions - $price a month
    _UNIT_RE = re.compile(
        r"(\d+)\s*x\s*(\d+)\s*[-\u2013]\s*\$([\d,.]+)\s*a\s*month",
        re.IGNORECASE,
    )

    _UNAVAILABLE_RE = re.compile(r"currently\s+unavailable", re.IGNORECASE)

    def parse(self, html: str, url: str = "") -> ParseResult:
        soup = BeautifulSoup(html, "lxml")
        result = ParseResult(platform=self.platform, parser_name=self.__class__.__name__)

        # Search all <strong>/<b> tags and surrounding text for unit patterns
        body_text = soup.get_text(separator="\n")

        for match in self._UNIT_RE.finditer(body_text):
            width = float(match.group(1))
            length = float(match.group(2))
            price = self.normalize_price(match.group(3))

            # Check context for availability
            context_start = max(0, match.start() - 10)
            context_end = min(len(body_text), match.end() + 100)
            context = body_text[context_start:context_end]

            unit = UnitResult(
                size=f"{int(width)} x {int(length)}",
                sale_price=price,
                description=context.strip().replace("\n", " "),
                metadata={"width": width, "length": length, "sqft": width * length},
            )

            if self._UNAVAILABLE_RE.search(context):
                unit.scarcity = "unavailable"

            result.units.append(unit)

        if not result.units:
            result.warnings.append("No unit pricing patterns found in page text")

        return result

Scrape Runs (3)

Run #930 Details

Status
exported
Parser Used
Facility34Parser
Platform Detected
table_layout
Units Found
3
Stage Reached
exported
Timestamp
2026-03-21 19:08:00.271667
Timing
Stage Duration
Fetch2558ms
Detect7ms
Parse4ms
Export5ms

Snapshot: 34_20260321T190802Z.html · Show Snapshot · Open in New Tab

Parsed Units (3)

10 x 10

$45.00/mo
unavailable

10 x 20

$65.00/mo

10 x 30

$99.00/mo

← Back to dashboard