Facility: 47

Greater Wenatchee Storage

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
47
Name
Greater Wenatchee Storage
URL
https://greaterwenatcheestorage.com/
Address
N/A
Platform
custom_facility_47
Parser File
src/parsers/custom/facility_47_parser.py
Last Scraped
2026-03-23 03:15:52.345715
Created
2026-03-14 16:21:53.706708
Updated
2026-03-23 03:15:52.352863
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_47_parser.py)
"""Parser for Greater Wenatchee Storage (Monitor, WA)."""
from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility47Parser(BaseParser):
    """Extract storage units from greaterwenatcheestorage.com.

    Pricing is displayed as plain text lines in the format:
        ``10x20 Enclosed Storage....$125.00 month``
        ``Open Uncovered Parking....$45 per month for cars/trucks/SUVs``
    """

    platform = "custom_facility_47"

    # Pattern: size + description + price
    _UNIT_RE = re.compile(
        r"(\d+)\s*x\s*(\d+)\s+([\w\s]+?)\.{2,}\s*\$([\d,.]+)\s*(?:per\s+)?month",
        re.IGNORECASE,
    )

    # Pattern: parking with per-month flat rate
    _PARKING_FLAT_RE = re.compile(
        r"(Open\s+\w+\s+Parking)\.{2,}\s*\$([\d,.]+)\s*per\s+month\s+for\s+(.+)",
        re.IGNORECASE,
    )

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

        text = soup.get_text(separator="\n")

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

            meta: dict = {"width": width, "length": length, "sqft": width * length}
            if "enclosed" in description.lower():
                meta["indoor"] = True

            unit = UnitResult(
                size=f"{int(width)}x{int(length)}",
                sale_price=price,
                description=match.group(0).strip(),
                metadata=meta,
            )
            result.units.append(unit)

        # Also extract flat-rate parking
        for match in self._PARKING_FLAT_RE.finditer(text):
            description = match.group(1).strip()
            price = self.normalize_price(match.group(2))
            vehicle_type = match.group(3).strip()

            unit = UnitResult(
                size=f"Parking ({vehicle_type})",
                sale_price=price,
                description=match.group(0).strip(),
            )
            result.units.append(unit)

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

        return result

Scrape Runs (3)

Run #489 Details

Status
exported
Parser Used
Facility47Parser
Platform Detected
table_layout
Units Found
4
Stage Reached
exported
Timestamp
2026-03-14 16:47:20.605201
Timing
Stage Duration
Fetch3535ms
Detect12ms
Parse8ms
Export15ms

Snapshot: 47_20260314T164724Z.html · Show Snapshot · Open in New Tab

Parsed Units (4)

10x10

$75.00/mo

10x20

$125.00/mo

10x40

$250.00/mo

Parking (cars/trucks/SUVs)

$45.00/mo

← Back to dashboard