Facility: 013247

Big Tex 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
013247
Name
Big Tex Storage
URL
https://www.bigtexstorage.com/locations/montrose-richmon-ave/
Address
1810 Richmond Ave., Houston, TX 77098
Platform
custom_facility_013247
Parser File
src/parsers/custom/facility_013247_parser.py
Last Scraped
2026-03-27 13:40:41.013673
Created
2026-03-23 02:35:08.816820
Updated
2026-03-27 13:40:41.013673
Parser & Healing Diagnosis needs_fix
Parser Status
⚠ Needs Fix
Status Reason
Parser returned 0 units
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_013247_parser.py)
"""Parser for Big Tex Storage reservation system (facility 013247)."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility013247Parser(BaseParser):
    """Extract storage units from Big Tex Storage reservation system.

    Units are rendered as div.row.grid-item elements, each containing:
    - span.area-dimension: size text (e.g. "5' X 5'")
    - span.rate-board: discounted/web rate price
    - span.rate-standard: standard/in-store rate price
    - span.promo-name: promotional text
    - ul.unit-feature li: feature list
    """

    platform = "custom_facility_013247"

    _SIZE_RE = re.compile(r"(\d+\.?\d*)\s*[xX×\']\s*X?\s*(\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__)

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

        for card in soup.find_all(class_="grid-item"):
            # --- size ---
            dim_el = card.find(class_="area-dimension")
            if not dim_el:
                continue
            size_text = dim_el.get_text(strip=True)

            # --- web rate (board rate) ---
            board_el = card.find(class_="rate-board")
            if not board_el:
                continue
            price_text = board_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)

            # --- standard / in-store rate ---
            std_el = card.find(class_="rate-standard")
            sale_price: float | None = None
            if std_el:
                sale_price = self.normalize_price(std_el.get_text(strip=True))

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

            # --- description ---
            unit_name_el = card.find(class_="unit-name")
            features = card.find_all("li")
            parts = []
            if unit_name_el:
                parts.append(unit_name_el.get_text(strip=True))
            parts.extend(li.get_text(strip=True) for li in features if li.get_text(strip=True))
            desc = ", ".join(parts) if parts else 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 Big Tex grid-item cards")

        return result

Scrape Runs (3)

Run #1552 Details

Status
exported
Parser Used
Facility013247Parser
Platform Detected
table_layout
Units Found
0
Stage Reached
exported
Timestamp
2026-03-27 13:40:35.743421
Timing
Stage Duration
Fetch4983ms
Detect32ms
Parse17ms
Export17ms

Snapshot: 013247_20260327T134040Z.html · Show Snapshot · Open in New Tab

No units found in this run.

All Failures for this Facility (3)

parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-27 13:40:40.993796

No units extracted for 013247

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 013247
parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-27 13:40:40.833155

No units extracted for 013247

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 013247
parse _WarningAsException scraper no_units_extracted warning Run #N/A | 2026-03-23 02:40:26.668674

No units extracted for 013247

Stack trace
src.reporting.failure_reporter._WarningAsException: No units extracted for 013247

← Back to dashboard