Facility: 002206

Highland Self Storage

Stale Data Warning: This facility has not been successfully scraped in 30 days (threshold: 3 days). Data may be outdated.
Facility Information active
Facility ID
002206
Name
Highland Self Storage
URL
https://highlandselfstorage.us/unit-price/
Address
N/A
Platform
custom_facility_002206
Parser File
src/parsers/custom/facility_002206_parser.py
Last Scraped
2026-03-23 03:19:40.355997
Created
2026-03-06 23:45:35.865957
Updated
2026-03-23 03:19:40.377810
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_002206_parser.py)
"""Parser for Highland Self-Storage (Sheridan, WY).

The site is a Divi/WordPress page with unit prices listed as plain text
in the format: 10′ x 5′ – $55.00
"""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility002206Parser(BaseParser):
    """Extract storage units from Highland Self-Storage.

    Pricing is displayed as plain text lines inside a Divi text module:
        10′ x 5′ – $55.00
        10′ x 10′ – $75.00
        10′ x 20′ – $105.00
    """

    platform = "custom_facility_002206"

    # Matches: 10′ x 5′ – $55.00  (uses curly/prime apostrophes or ft)
    _UNIT_RE = re.compile(
        r"(\d+(?:\.\d+)?)['\u2019\u2032\u02bc\u0060ft]*\s*[xX\u00d7]\s*"
        r"(\d+(?:\.\d+)?)['\u2019\u2032\u02bc\u0060ft]*"
        r"\s*[\-\u2013\u2014]+\s*"
        r"\$([\d,]+(?:\.\d+)?)",
        re.IGNORECASE,
    )

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

        # Divi text module content
        text_inner = soup.find("div", class_="et_pb_text_inner")
        if not text_inner:
            result.warnings.append("No Divi text module found on page")
            return result

        text = text_inner.get_text(separator="\n", strip=True)

        for match in self._UNIT_RE.finditer(text):
            width = float(match.group(1))
            length = float(match.group(2))
            price_str = match.group(3).replace(",", "")
            price = float(price_str)

            unit = UnitResult(
                size=f"{int(width)}' x {int(length)}'",
                price=price,
                description=match.group(0).strip(),
                metadata={"width": width, "length": length, "sqft": width * length},
            )
            result.units.append(unit)

        if not result.units:
            result.warnings.append("No unit lines matched in text content")

        return result

Scrape Runs (5)

Run #544 Details

Status
exported
Parser Used
Facility002206Parser
Platform Detected
table_layout
Units Found
3
Stage Reached
exported
Timestamp
2026-03-14 16:54:54.898481
Timing
Stage Duration
Fetch8576ms
Detect7ms
Parse3ms
Export12ms

Snapshot: 002206_20260314T165503Z.html · Show Snapshot · Open in New Tab

Parsed Units (3)

10' x 5'

$55.00/mo

10' x 10'

$75.00/mo

10' x 20'

$105.00/mo

← Back to dashboard