Facility: 039478

Rockvale Mini 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
039478
Name
Rockvale Mini Storage
URL
http://www.rockvalestorage.com/
Address
7 Rockvale Rd, Joliet, MT 59041, USA, Joliet, Montana 59041
Platform
custom_facility_039478
Parser File
src/parsers/custom/facility_039478_parser.py
Last Scraped
2026-03-27 13:41:27.483493
Created
2026-03-23 02:35:08.816820
Updated
2026-03-27 13:41:27.511587
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_039478_parser.py)
"""Parser for Rockvale Mini Storage (Wix site, sizes only)."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility039478Parser(BaseParser):
    """Extract storage units from Rockvale Mini Storage.

    This is a Wix site that lists three unit sizes (10x10, 20x10, 15x40)
    but does not publish pricing. Site says 'Please call for rates.'
    """

    platform = "custom_facility_039478"

    _SIZE_RE = re.compile(
        r"(\d+)\s*[xX×]\s*(\d+)"
    )

    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")
        seen_sizes: set[str] = set()

        for m in self._SIZE_RE.finditer(text):
            w, ln = float(m.group(1)), float(m.group(2))
            if w < 3 or ln < 3:
                continue
            size_key = f"{int(w)}x{int(ln)}"
            if size_key in seen_sizes:
                continue
            seen_sizes.add(size_key)

            unit = UnitResult()
            unit.size = f"{int(w)}x{int(ln)}"
            unit.metadata = {"width": w, "length": ln, "sqft": w * ln}
            result.units.append(unit)

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

        return result

Scrape Runs (2)

Run #1047 Details

Status
exported
Parser Used
Facility039478Parser
Platform Detected
table_layout
Units Found
3
Stage Reached
exported
Timestamp
2026-03-23 02:41:12.408005
Timing
Stage Duration
Fetch4241ms
Detect32ms
Parse19ms
Export4ms

Snapshot: 039478_20260323T024116Z.html · Show Snapshot · Open in New Tab

Parsed Units (3)

10x10

No price

20x10

No price

15x40

No price

← Back to dashboard