Facility: 043186

Sound Storage

Stale Data Warning: This facility has not been successfully scraped in 26 days (threshold: 3 days). Data may be outdated.
Facility Information active
Facility ID
043186
Name
Sound Storage
URL
https://www.sound-storage.com/
Address
840 Mullis St, Friday Harbor, WA 98250, USA, Friday Harbor, Washington 98250
Platform
custom_facility_043186
Parser File
src/parsers/custom/facility_043186_parser.py
Last Scraped
2026-03-27 13:47:02.120658
Created
2026-03-20 23:33:53.011799
Updated
2026-03-27 13:47:02.120658
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_043186_parser.py)
"""Parser for Sound Storage (Wix brochure site, no unit pricing data)."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility043186Parser(BaseParser):
    """Extract storage units from Sound Storage.

    This is a Wix site with multiple locations (Port Townsend, Friday Harbor).
    The homepage does not publish unit sizes or prices.
    """

    platform = "custom_facility_043186"

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

        for tag in soup.find_all(["script", "style"]):
            tag.decompose()

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

        # Try to extract any size x price patterns
        size_price_re = re.compile(
            r"(\d+)\s*['\u2019\u2032]?\s*[xX×]\s*(\d+)\s*['\u2019\u2032]?"
            r"[^\$]{0,80}"
            r"\$(\d[\d,.]*)",
            re.DOTALL,
        )
        for m in size_price_re.finditer(text):
            w, ln = float(m.group(1)), float(m.group(2))
            if w < 3 or ln < 3:
                continue
            unit = UnitResult()
            unit.size = f"{int(w)}x{int(ln)}"
            unit.price = self.normalize_price(m.group(3))
            unit.metadata = {"width": w, "length": ln, "sqft": w * ln}
            result.units.append(unit)

        # Try size-only extraction
        if not result.units:
            size_re = re.compile(r"(\d+)\s*['\u2019\u2032]?\s*[xX×]\s*(\d+)")
            seen: set[str] = set()
            for m in size_re.finditer(text):
                w, ln = float(m.group(1)), float(m.group(2))
                if w < 3 or ln < 3:
                    continue
                key = f"{int(w)}x{int(ln)}"
                if key in seen:
                    continue
                seen.add(key)
                unit = UnitResult()
                unit.size = key
                unit.metadata = {"width": w, "length": ln, "sqft": w * ln}
                result.units.append(unit)

        if not result.units:
            result.warnings.append("No units found - brochure site without pricing data")

        return result

Scrape Runs (4)

Run #1113 Details

Status
exported
Parser Used
Facility043186Parser
Platform Detected
table_layout
Units Found
0
Stage Reached
exported
Timestamp
2026-03-23 02:48:28.248490
Timing
Stage Duration
Fetch4085ms
Detect50ms
Parse20ms
Export3ms

Snapshot: 043186_20260323T024832Z.html · Show Snapshot · Open in New Tab

No units found in this run.

All Failures for this Facility (4)

parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-27 13:47:02.103037

No units extracted for 043186

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 043186
parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-27 13:47:00.922532

No units extracted for 043186

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 043186
parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-23 02:48:32.439148

No units extracted for 043186

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 043186
parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-21 18:38:12.439132

No units extracted for 043186

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

← Back to dashboard