Facility: 5

54 South 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
5
Name
54 South Storage
URL
http://www.54southstorage.com/prices.htm
Address
N/A
Platform
custom_facility_5
Parser File
src/parsers/custom/facility_5_parser.py
Last Scraped
2026-03-23 03:15:59.547475
Created
2026-03-14 16:21:53.706708
Updated
2026-03-23 03:15:59.558590
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_5_parser.py)
"""Parser for 54th South Storage."""

from __future__ import annotations

from bs4 import BeautifulSoup

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


class Facility5Parser(BaseParser):
    """Extract storage units from 54th South Storage price table.

    The site uses an old-school HTML table with td-based headers
    (Monthly Rent, Unit Size, Size Equivalent, What the Unit Will Hold).
    """

    platform = "custom_facility_5"

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

        # Find the pricing table by its border attribute and centered alignment
        price_table = soup.find("table", attrs={"border": "1"})
        if not price_table:
            result.warnings.append("No pricing table found")
            return result

        rows = price_table.find_all("tr")
        if len(rows) < 2:
            result.warnings.append("Pricing table has no data rows")
            return result

        # Skip header row (first row)
        for row in rows[1:]:
            cells = row.find_all("td")
            if len(cells) < 2:
                continue

            texts = [c.get_text(strip=True) for c in cells]
            price_text = texts[0]
            size_text = texts[1]

            unit = UnitResult()
            unit.description = " | ".join(texts)
            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}
            unit.price = self.normalize_price(price_text)

            if (unit.metadata and "width" in unit.metadata) or unit.price:
                result.units.append(unit)

        if not result.units:
            result.warnings.append("No units extracted from pricing table")

        return result

Scrape Runs (3)

Run #1435 Details

Status
exported
Parser Used
Facility5Parser
Platform Detected
table_layout
Units Found
7
Stage Reached
exported
Timestamp
2026-03-23 03:15:57.109800
Timing
Stage Duration
Fetch2388ms
Detect15ms
Parse7ms
Export8ms

Snapshot: 5_20260323T031559Z.html · Show Snapshot · Open in New Tab

Parsed Units (7)

5 X 5

$45.00/mo

5 X 10

$89.00/mo

10 X 10

$109.00/mo

10 X 15

$139.00/mo

10 X 20

$159.00/mo

10 X 25

$179.00/mo

10 X 30

$199.00/mo

← Back to dashboard