Facility: 050371

Eado 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
050371
Name
Eado Storage
URL
https://www.premiumspaces.com/storage-locations/tx/houston/1025-sampson-st/
Address
1025 Sampson St, Houston, TX 77003
Platform
custom_facility_050371
Parser File
src/parsers/custom/facility_050371_parser.py
Last Scraped
2026-03-27 13:41:37.897730
Created
2026-03-23 02:35:08.816820
Updated
2026-03-27 13:41:37.931928
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_050371_parser.py)
"""Parser for Premium Spaces storage facility 050371."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility050371Parser(BaseParser):
    """Extract storage units from Premium Spaces (se-vapor platform).

    Units are rendered in div.unit-item elements. Each contains:
    - div.unit-item__dimension: size text (e.g. "4.5' x 4.5'")
    - div.unit-item__category: category label
    - div.unit-item-price__web-rate: web rate price string (e.g. "$36.00")
    - div.unit-item__promotions span.unit-item-promotion: promo text
    """

    platform = "custom_facility_050371"

    _CLEAN_RE = re.compile(r"[^\d.]")

    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-item"):
            # Skip nested sub-elements — only top-level unit-item containers
            if not card.get("data-unit-id"):
                continue

            # --- size ---
            dim_el = card.find(class_="unit-item__dimension")
            if not dim_el:
                continue
            size_text = dim_el.get_text(strip=True)
            # Remove span/state wrappers; keep just the text
            if not size_text:
                continue

            # --- price ---
            price_el = card.find(class_="unit-item-price__web-rate")
            if not price_el:
                continue
            # Remove the label span before extracting price text
            for label in price_el.find_all(class_="unit-item-price__label"):
                label.decompose()
            price_text = price_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)

            # --- promotion ---
            promo_el = card.find(class_="unit-item-promotion")
            promo = promo_el.get_text(strip=True) if promo_el else None

            # --- description (category + features) ---
            cat_el = card.find(class_="unit-item__category")
            desc = cat_el.get_text(strip=True) if cat_el else None

            unit = UnitResult(
                size=size_text,
                price=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 Premium Spaces unit-item cards")

        return result

Scrape Runs (3)

Run #1575 Details

Status
exported
Parser Used
Facility050371Parser
Platform Detected
ccstorage
Units Found
35
Stage Reached
exported
Timestamp
2026-03-27 13:41:32.260980
Timing
Stage Duration
Fetch5062ms
Detect104ms
Parse146ms
Export26ms

Snapshot: 050371_20260327T134137Z.html · Show Snapshot · Open in New Tab

Parsed Units (35)

4.5' x 4.5'

$37.00/mo

4.5' x 4.5'

$43.00/mo

5' x 5'

$56.00/mo

5' x 5'

$75.00/mo

5' x 10'

$73.00/mo

5' x 10'

$81.00/mo

10' x 5'

$73.00/mo

10' x 5'

$81.00/mo

10' x 5'

$105.00/mo

7.5' x 10'

$77.00/mo

7.5' x 10'

$87.00/mo

7.5' x 10'

$108.00/mo

10' x 7.5'

$77.00/mo

10' x 7.5'

$87.00/mo

10' x 10'

$130.00/mo

10' x 10'

$134.00/mo

10' x 10'

$176.00/mo

10' x 15'

$258.00/mo

10' x 20'

$328.00/mo

10' x 30'

$508.00/mo

5' x 5'

$53.00/mo

5' x 10'

$105.00/mo

10' x 5'

$100.00/mo

10' x 15'

$288.00/mo

10' x 15'

$357.00/mo

15' x 10'

$258.00/mo

15' x 10'

$288.00/mo

10' x 20'

$308.00/mo

10' x 20'

$407.00/mo

10' x 20'

$433.00/mo

20' x 10'

$308.00/mo

20' x 10'

$328.00/mo

10' x 30'

$426.00/mo

10' x 30'

$453.00/mo

10' x 30'

$597.00/mo

← Back to dashboard