Facility: 109974

Top Dog 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
109974
Name
Top Dog Self Storage
URL
https://www.topdogselfstorage.com/23-grady-rd-cedartown-ga-30125
Address
23 Grady Rd, Cedartown, GA 30125, USA, Cedartown, Georgia 30125
Platform
custom_facility_109974
Parser File
src/parsers/custom/facility_109974_parser.py
Last Scraped
2026-03-27 14:09:59.369566
Created
2026-03-14 16:21:53.706708
Updated
2026-03-27 14:09:59.405033
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_109974_parser.py)
"""Parser for Top Dog Self Storage."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility109974Parser(BaseParser):
    """Extract storage units from Top Dog Self Storage using table layout."""

    platform = "custom_facility_109974"

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

        table = soup.select_one("table._2QREMkZenGaFOjxHn8CDhU.table")
        if not table:
            # Fallback: find table with most price-containing rows
            tables = soup.find_all("table")
            best, best_count = None, 0
            for t in tables:
                c = sum(1 for r in t.find_all("tr") if "$" in r.get_text())
                if c > best_count:
                    best_count = c
                    best = t
            table = best

        if not table:
            result.warnings.append("No pricing table found")
            return result

        rows = table.find_all("tr")
        for row in rows:
            cells = row.find_all(["td", "th"])
            if len(cells) < 2:
                continue

            row_text = row.get_text()
            # Skip header rows
            if not re.search(r"\$\d+", row_text) and not re.search(r"\d+\s*[\'\'xX]\s*\d+", row_text):
                continue

            unit = UnitResult()

            # Extract size
            size_text = cells[1].get_text(strip=True)
            if size_text:
                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 price
            price_text = cells[2].get_text(strip=True)
            if price_text:
                # Try to find the price in this cell
                price_match = re.search(r"\$(\d[\d,.]*)", price_text)
                if price_match:
                    unit.price = self.normalize_price(price_match.group(1))

            unit.description = row.get_text(separator=" ", strip=True)

            if unit.size or unit.price:
                result.units.append(unit)

        if not result.units:
            result.warnings.append("No units found in table")

        return result

Scrape Runs (5)

Run #2233 Details

Status
exported
Parser Used
Facility109974Parser
Platform Detected
storageunitsoftware
Units Found
4
Stage Reached
exported
Timestamp
2026-03-27 14:09:56.269151
Timing
Stage Duration
Fetch3003ms
Detect27ms
Parse12ms
Export19ms

Snapshot: 109974_20260327T140959Z.html · Show Snapshot · Open in New Tab

Parsed Units (4)

Storage Unit, Non Climate-Controlled, Drive Up!! 50% OFF FIRST 2 MONTHS !!

$35.00/mo

Storage Unit, Non Climate-Controlled, Drive Up!! 50% OFF FIRST 2 MONTHS !!

$40.00/mo

Storage Unit, Non Climate-Controlled, Drive Up!! 50% OFF FIRST 2 MONTHS !!

$45.00/mo

Outdoor Parking, Outdoor Parking!! 50% OFF FIRST 2 MONTHS !!

$28.00/mo

← Back to dashboard