Facility: 002402
Simple Storage
- Facility ID
- 002402
- Name
- Simple Storage
- URL
- https://www.simplyss.com/
- Address
- 1075 28th Ave NW, Owatonna, MN 55060, USA, Owatonna, Minnesota 55060
- Platform
- custom_facility_002402
- Parser File
- src/parsers/custom/facility_002402_parser.py
- Last Scraped
- 2026-03-27 13:53:43.180468
- Created
- 2026-03-14 16:21:53.706708
- Updated
- 2026-03-27 13:53:43.207843
- Parser Status
- ✓ Working
- Status Reason
- N/A
- Last Healing Attempt
- Not attempted
Parser Source (src/parsers/custom/facility_002402_parser.py)
"""Parser for Simple Storage."""
from __future__ import annotations
import re
from bs4 import BeautifulSoup
from src.parsers.base import BaseParser, ParseResult, UnitResult
class Facility002402Parser(BaseParser):
"""Extract storage units from Simple Storage."""
platform = "custom_facility_002402"
_UNIT_RE = re.compile(
r"(\d+\s*[\'\'\u2032]?\s*[xX\u00d7]\s*\d+\s*[\'\'\u2032]?)"
r"[^\$]{0,120}"
r"\$(\d[\d,.]*)",
re.DOTALL,
)
_PRICE_SIZE_RE = re.compile(
r"\$(\d[\d,.]*)"
r".{0,120}"
r"(\d+\s*[\'\'\u2032]?\s*[xX\u00d7]\s*\d+\s*[\'\'\u2032]?)",
re.DOTALL,
)
_SIZE_ONLY_RE = re.compile(
r"(\d+\s*[\'\'\u2032]?\s*[xX\u00d7]\s*\d+\s*[\'\'\u2032]?)"
)
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()
body_text = soup.get_text(separator="\n")
seen: set[tuple[str, str]] = set()
# Try size-then-price pattern
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)
# Try price-then-size pattern if no results
if not result.units:
for m in self._PRICE_SIZE_RE.finditer(body_text):
price_text = m.group(1).strip()
size_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)
# Fallback: extract sizes without prices
if not result.units:
seen_sizes: set[str] = set()
for m in self._SIZE_ONLY_RE.finditer(body_text):
size_text = m.group(1).strip()
if size_text in seen_sizes:
continue
w, ln, sq = self.normalize_size(size_text)
if w is None or w < 3 or ln < 3:
continue
seen_sizes.add(size_text)
unit = UnitResult()
unit.size = size_text
unit.metadata = {"width": w, "length": ln, "sqft": sq}
result.units.append(unit)
if not result.units:
result.warnings.append("No units found via regex")
return result
Scrape Runs (5)
-
exported Run #18552026-03-27 13:53:37.789477 | 7 units | Facility002402Parser | View Data →
-
exported Run #18542026-03-27 13:53:37.788544 | 7 units | Facility002402Parser | View Data →
-
exported Run #11902026-03-23 02:54:50.241954 | 7 units | Facility002402Parser | View Data →
-
exported Run #6972026-03-21 18:46:07.847946 | 7 units | Facility002402Parser | View Data →
-
exported Run #2462026-03-14 16:28:03.886788 | 7 units | Facility002402Parser | View Data →
Run #1190 Details
- Status
- exported
- Parser Used
- Facility002402Parser
- Platform Detected
- ccstorage
- Units Found
- 7
- Stage Reached
- exported
- Timestamp
- 2026-03-23 02:54:50.241954
Timing
| Stage | Duration |
|---|---|
| Fetch | 4193ms |
| Detect | 47ms |
| Parse | 38ms |
| Export | 7ms |
Snapshot: 002402_20260323T025454Z.html · Show Snapshot · Open in New Tab
Parsed Units (7)
5'x5'
No price
5'x10'
No price
5'x15'
No price
10'x10'
No price
10'x15'
No price
10'x20'
No price
10'x25'
No price