Facility: 021412

Brassfield 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
021412
Name
Brassfield Self Storage
URL
http://www.brassfieldselfstorage.com/
Address
2717 Western Bypass, Durham, NC 27705, USA, Durham, North Carolina 27705
Platform
custom_facility_021412
Parser File
src/parsers/custom/facility_021412_parser.py
Last Scraped
2026-03-27 13:44:06.796950
Created
2026-03-20 23:23:10.660695
Updated
2026-03-27 13:44:06.836439
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_021412_parser.py)
"""Parser for Brassfield Self Storage."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility021412Parser(BaseParser):
    """Extract storage units from Brassfield Self Storage."""

    platform = "custom_facility_021412"

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

        # Units are in div.su_quick_view containers with div.su_size children
        containers = soup.select("div.su_quick_view")

        seen_sizes: set[str] = set()

        for container in containers:
            size_el = container.select_one("div.su_size")
            if not size_el:
                continue

            size_text = size_el.get_text(strip=True)
            if not re.search(r"\d+", size_text):
                continue

            # Deduplicate
            if size_text in seen_sizes:
                continue
            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}

            # Extract description
            desc_el = container.select_one("div.su_summary")
            if desc_el:
                unit.description = desc_el.get_text(strip=True)

            result.units.append(unit)

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

        return result

Scrape Runs (4)

Run #1082 Details

Status
exported
Parser Used
Facility021412Parser
Platform Detected
table_layout
Units Found
10
Stage Reached
exported
Timestamp
2026-03-23 02:44:19.904568
Timing
Stage Duration
Fetch3838ms
Detect13ms
Parse11ms
Export4ms

Snapshot: 021412_20260323T024423Z.html · Show Snapshot · Open in New Tab

Parsed Units (10)

5 x 10

No price

5 x 15

No price

10 x 10

No price

10 x 12

No price

10 x 15

No price

10 x 20

No price

10 x 30

No price

5 x 8

No price

10 x 25

No price

15 x 35

No price

← Back to dashboard