Facility: 039478
Rockvale Mini Storage
- 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 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 #1572 Details
- Status
- exported
- Parser Used
- Facility039478Parser
- Platform Detected
- table_layout
- Units Found
- 3
- Stage Reached
- exported
- Timestamp
- 2026-03-27 13:41:23.893875
Timing
| Stage | Duration |
|---|---|
| Fetch | 3507ms |
| Detect | 15ms |
| Parse | 7ms |
| Export | 17ms |
Snapshot: 039478_20260327T134127Z.html · Show Snapshot · Open in New Tab
Parsed Units (3)
10x10
No price
20x10
No price
15x40
No price