Facility: 092120

Solon Storage Rentals

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
092120
Name
Solon Storage Rentals
URL
http://www.solonstoragerentals.com/
Address
101 5th St, Solon, IA 52333, USA, Solon, Iowa 52333
Platform
custom_facility_092120
Parser File
src/parsers/custom/facility_092120_parser.py
Last Scraped
2026-03-27 13:46:13.650035
Created
2026-03-20 23:23:10.660695
Updated
2026-03-27 13:46:13.676532
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_092120_parser.py)
"""Parser for Solon Storage Rentals."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility092120Parser(BaseParser):
    """Extract storage units from Solon Storage Rentals."""

    platform = "custom_facility_092120"

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

        # Unit sizes are in <p> tags inside .wpb_text_column divs.
        # Multiple sizes are concatenated in each paragraph without separators
        # (e.g. "6×1010×1010×1210×15"). Use a 1-2 digit constraint to split them.
        size_pattern = re.compile(r"(\d{1,2})[×xX](\d{1,2})(?=\d{1,2}[×xX]|\D|$)")

        seen_sizes = set()
        for p in soup.select(".wpb_text_column p"):
            text = p.get_text(strip=True)
            for match in size_pattern.finditer(text):
                size_text = f"{match.group(1)}×{match.group(2)}"
                if size_text not in seen_sizes:
                    seen_sizes.add(size_text)
                    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}
                    result.units.append(unit)

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

        return result

Scrape Runs (4)

Run #1106 Details

Status
exported
Parser Used
Facility092120Parser
Platform Detected
unknown
Units Found
12
Stage Reached
exported
Timestamp
2026-03-23 02:47:37.075651
Timing
Stage Duration
Fetch6251ms
Detect41ms
Parse21ms
Export6ms

Snapshot: 092120_20260323T024743Z.html · Show Snapshot · Open in New Tab

Parsed Units (12)

6×10

No price

10×10

No price

10×12

No price

10×15

No price

6×20

No price

10×20

No price

12×20

No price

10×24

No price

10×28

No price

10×30

No price

20×24

No price

10×40

No price

← Back to dashboard