Facility: 110253

SmartStop Self Storage

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
110253
Name
SmartStop Self Storage
URL
https://smartstopselfstorage.com/en/find-storage/tx/houston/3130-southwest-fwy
Address
3130 Southwest Fwy, Houston, TX 77098
Platform
custom_facility_110253
Parser File
src/parsers/custom/facility_110253_parser.py
Last Scraped
2026-03-27 13:44:23.455140
Created
2026-03-20 23:32:48.933261
Updated
2026-03-27 13:44:23.484980
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_110253_parser.py)
"""Parser for SmartStop Self Storage facility 110253."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility110253Parser(BaseParser):
    """Extract storage units from SmartStop Self Storage pages.

    Units are rendered in div.unit-card elements. Each card contains:
    - div.unit-card__size__dimension: dimension text (e.g. "10' x 20'")
    - div.unit-card__cost__web__value: promotional/web rate
    - div.unit-card__cost__store__value (inside .cross-out): in-store rate
    - ul.unit-card__features__list li: feature list
    - div.unit-card__cost__badges__promo span.badge: promo badge text
    """

    platform = "custom_facility_110253"

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

        seen: set[tuple[str, str]] = set()

        for card in soup.find_all(class_="unit-card"):
            # Skip nested unit-card sub-elements
            if not card.get("data-js-unittypeid"):
                continue

            # --- size ---
            dim_el = card.find(class_="unit-card__size__dimension")
            if not dim_el:
                continue
            size_text = dim_el.get_text(strip=True)

            # --- web rate (promotional/online rate) ---
            web_val_el = card.find(class_="unit-card__cost__web__value")
            if not web_val_el:
                continue
            # Strip the <sub>/mo</sub> tag
            for sub in web_val_el.find_all("sub"):
                sub.decompose()
            price_text = web_val_el.get_text(strip=True)
            price = self.normalize_price(price_text)
            if price is None:
                continue

            key = (size_text, price_text)
            if key in seen:
                continue
            seen.add(key)

            # --- in-store rate (crossed-out) ---
            store_el = card.find(class_="unit-card__cost__store__value")
            sale_price: float | None = None
            if store_el:
                sale_price = self.normalize_price(store_el.get_text(strip=True))

            # --- promotion badge ---
            promo_el = card.find(class_="unit-card__cost__badges__promo")
            promo: str | None = None
            if promo_el:
                badge = promo_el.find(class_="badge")
                if badge:
                    # Get direct text only (avoid nested tooltip text)
                    badge_text = badge.find(string=True, recursive=False)
                    if badge_text:
                        promo = badge_text.strip()

            # --- features ---
            feature_els = card.find_all("li")
            desc = ", ".join(li.get_text(strip=True) for li in feature_els if li.get_text(strip=True)) or None

            unit = UnitResult(
                size=size_text,
                price=price,
                sale_price=sale_price,
                promotion=promo,
                description=desc,
            )
            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 in SmartStop unit-card elements")

        return result

Scrape Runs (4)

Run #591 Details

Status
exported
Parser Used
Facility110253Parser
Platform Detected
unknown
Units Found
14
Stage Reached
exported
Timestamp
2026-03-21 18:35:00.315286
Timing
Stage Duration
Fetch4390ms
Detect180ms
Parse70ms
Export6ms

Snapshot: 110253_20260321T183504Z.html · Show Snapshot · Open in New Tab

Parsed Units (14)

10' x 20'

$251.00/mo
Street: $126.00

5' x 5'

$47.00/mo
Street: $24.00

5' x 5'

$50.00/mo
Street: $25.00

5' x 10'

$67.00/mo
Street: $34.00

5' x 7.5'

$71.00/mo
Street: $36.00

5' x 5'

$81.00/mo
Street: $40.00

7.5' x 10'

$95.00/mo
Street: $48.00

5' x 5'

$126.00/mo
Street: $63.00

5' x 7'

$167.00/mo
Street: $84.00

7.5' x 10'

$207.00/mo
Street: $104.00

10' x 10'

$148.00/mo
Street: $74.00

10' x 15'

$214.00/mo
Street: $107.00

10' x 30'

$412.00/mo
Street: $262.00

15' x 30'

$614.00/mo
Street: $464.00

← Back to dashboard