Facility: 103272
West Coast Self-Storage Santa Rosa - Piner
- Facility ID
- 103272
- Name
- West Coast Self-Storage Santa Rosa - Piner
- URL
- https://www.westcoastselfstorage.com/self-storage/california/santa-rosa/907-piner-rd-95403/unit-sizes-prices/
- Address
- 970 Piner Rd, Santa Rosa, CA 95403, USA, Santa Rosa, California 95403
- Platform
- custom_facility_103272
- Parser File
- src/parsers/custom/facility_103272_parser.py
- Last Scraped
- 2026-03-27 14:06:59.055261
- Created
- 2026-03-14 16:21:53.706708
- Updated
- 2026-03-27 14:06:59.087590
- Parser Status
- ✓ Working
- Status Reason
- N/A
- Last Healing Attempt
- Not attempted
Parser Source (src/parsers/custom/facility_103272_parser.py)
"""Parser for West Coast Self-Storage Santa Rosa - Piner."""
from __future__ import annotations
import re
from bs4 import BeautifulSoup
from src.parsers.base import BaseParser, ParseResult, UnitResult
class Facility103272Parser(BaseParser):
"""Extract storage units from West Coast Self-Storage Santa Rosa - Piner using regex fallback."""
platform = "custom_facility_103272"
_UNIT_RE = re.compile(
r"(\d+\s*[\'\'\u2032]?\s*[xX\u00d7]\s*\d+\s*[\'\'\u2032]?)"
r"[^\$]{0,100}"
r"\$(\d[\d,.]*)",
re.DOTALL,
)
def parse(self, html: str, url: str = "") -> ParseResult:
soup = BeautifulSoup(html, "lxml")
result = ParseResult(platform=self.platform, parser_name=self.__class__.__name__)
# Remove script/style noise
for tag in soup.find_all(["script", "style"]):
tag.decompose()
body_text = soup.get_text(separator="\n")
seen = set()
for m in self._UNIT_RE.finditer(body_text):
size_text = m.group(1).strip()
price_text = m.group(2).strip()
key = (size_text, price_text)
if key in seen:
continue
seen.add(key)
unit = UnitResult()
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}
unit.price = self.normalize_price(price_text)
unit.description = m.group(0).strip()[:200]
if unit.size or unit.price:
result.units.append(unit)
if not result.units:
result.warnings.append("No units found via regex")
return result
Scrape Runs (5)
-
exported Run #21852026-03-27 14:06:55.583632 | 1 units | Facility103272Parser | View Data →
-
exported Run #21842026-03-27 14:06:53.678310 | 1 units | Facility103272Parser | View Data →
-
exported Run #13582026-03-23 03:09:22.171169 | 1 units | Facility103272Parser | View Data →
-
exported Run #8652026-03-21 19:01:42.474014 | 1 units | Facility103272Parser | View Data →
-
exported Run #4142026-03-14 16:41:23.443832 | 1 units | Facility103272Parser | View Data →
Run #865 Details
- Status
- exported
- Parser Used
- Facility103272Parser
- Platform Detected
- storageunitsoftware
- Units Found
- 1
- Stage Reached
- exported
- Timestamp
- 2026-03-21 19:01:42.474014
Timing
| Stage | Duration |
|---|---|
| Fetch | 4725ms |
| Detect | 52ms |
| Parse | 226ms |
| Export | 3ms |
Snapshot: 103272_20260321T190147Z.html · Show Snapshot · Open in New Tab
Parsed Units (1)
5x7
$59.00/mo