Facility: 028962

M & M Storage

Stale Data Warning: This facility has not been successfully scraped in 26 days (threshold: 3 days). Data may be outdated.
⚠ Unit Count Anomaly (Critical): Current run has 0 units, expected baseline is 3 (-100.0% change, delta: -3).
Facility Information active
Facility ID
028962
Name
M & M Storage
URL
http://www.mandmstorage.com/
Address
404 SW S Ave, Blue Springs, MO 64014, USA, Blue Springs, Missouri 64014
Platform
custom_facility_028962
Parser File
src/parsers/custom/facility_028962_parser.py
Last Scraped
2026-03-27 14:01:38.622479
Created
2026-03-14 16:21:53.706708
Updated
2026-03-27 14:01:38.622479
Parser & Healing Diagnosis needs_fix
Parser Status
⚠ Needs Fix
Status Reason
Parser returned 0 units
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_028962_parser.py)
"""Parser for M & M Storage."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility028962Parser(BaseParser):
    """Extract storage units from M & M Storage."""

    platform = "custom_facility_028962"

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

        containers = soup.select("div.container")

        for container in containers:
            unit = UnitResult()
            text = container.get_text(separator=" ", strip=True)

            # Extract size
            size_el = None
            size_text = size_el.get_text(strip=True) if size_el else None
            if not size_text:
                # Fallback: regex on full text
                m = re.search(r"(\d+\s*[\'\'\u2032]?\s*[xX\u00d7]\s*\d+\s*[\'\'\u2032]?)", text)
                if m:
                    size_text = m.group(1)
            if size_text:
                unit.size = size_text
                w, ln, sq = self.normalize_size(size_text)
                if w is not None:
                    unit.metadata = {"width": w, "length": ln, "sqft": sq}

            # Extract price
            price_el = None
            price_text = price_el.get_text(strip=True) if price_el else None
            if not price_text:
                # Fallback: regex on full text
                pm = re.search(r"\$(\d[\d,.]*)", text)
                if pm:
                    price_text = pm.group(0)
            if price_text:
                pm = re.search(r"\$(\d[\d,.]*)", price_text)
                if pm:
                    unit.price = self.normalize_price(pm.group(1))

            unit.description = text[:200]

            if unit.size or unit.price:
                result.units.append(unit)

        if not result.units:
            result.warnings.append("No units found")

        return result

Scrape Runs (5)

Run #2062 Details

Status
exported
Parser Used
Facility028962Parser
Platform Detected
unknown
Units Found
0
Stage Reached
exported
Timestamp
2026-03-27 14:01:35.967266
Timing
Stage Duration
Fetch2172ms
Detect2ms
Parse1ms
Export15ms

Snapshot: 028962_20260327T140138Z.html · Show Snapshot · Open in New Tab

No units found in this run.

All Failures for this Facility (3)

parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-27 14:01:38.605216

No units extracted for 028962

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 028962
parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-27 14:01:38.199744

No units extracted for 028962

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 028962
parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-14 16:35:37.840998

No units extracted for 028962

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 028962

← Back to dashboard