Facility: 079102

Zanesville Best 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
079102
Name
Zanesville Best Storage
URL
https://coppersafestorage.com/storage-locations/oh/zanesville/1636-fairview-dr/
Address
1636 Fairview Rd, Zanesville, OH 43701, USA, Zanesville, Ohio 43701
Platform
custom_facility_079102
Parser File
src/parsers/custom/facility_079102_parser.py
Last Scraped
2026-03-27 14:03:09.642633
Created
2026-03-14 16:21:53.706708
Updated
2026-03-27 14:03:09.668931
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_079102_parser.py)
"""Parser for Zanesville Best Storage."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility079102Parser(BaseParser):
    """Extract storage units from Zanesville Best Storage using table layout."""

    platform = "custom_facility_079102"

    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.has-fixed-layout")
        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 #2098 Details

Status
exported
Parser Used
Facility079102Parser
Platform Detected
storageunitsoftware
Units Found
9
Stage Reached
exported
Timestamp
2026-03-27 14:03:03.756402
Timing
Stage Duration
Fetch3784ms
Detect153ms
Parse74ms
Export19ms

Snapshot: 079102_20260327T140307Z.html · Show Snapshot · Open in New Tab

Parsed Units (9)

5×5

$34.00/mo

5×10

$24.00/mo

5×10

$49.00/mo

10×10

$56.00/mo

10×10

$99.00/mo

10×15

$69.00/mo

10×20

$89.00/mo

10×30

$149.00/mo

10×30

$239.00/mo

← Back to dashboard