Facility: 076743

USA Storage Solutions - Richlands

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
076743
Name
USA Storage Solutions - Richlands
URL
https://www.usastoragesolutions.com/pages/Richlands
Address
506 Kents Ridge Rd, Richlands, VA 24641, USA, Richlands, Virginia 24641
Platform
custom_facility_076743
Parser File
src/parsers/custom/facility_076743_parser.py
Last Scraped
2026-03-27 14:03:00.179997
Created
2026-03-14 16:21:53.706708
Updated
2026-03-27 14:03:00.207722
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_076743_parser.py)
"""Parser for USA Storage Solutions - Richlands."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility076743Parser(BaseParser):
    """Extract storage units from USA Storage Solutions - Richlands."""

    platform = "custom_facility_076743"

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

        containers = soup.select("div.g-2.justify-content-center.mb-2.row")

        for container in containers:
            unit = UnitResult()
            text = container.get_text(separator=" ", strip=True)

            # Extract size
            size_el = container.select_one("h4.primary-color")
            size_text = size_el.get_text(strip=True) if size_el else None
            if not size_text:
                # Fallback: regex on full text
                m = re.search(r"(\d+\s*[\'\'\u2032]?\s*[xX\u00d7]\s*\d+\s*[\'\'\u2032]?)", text)
                if m:
                    size_text = m.group(1)
            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_el = container.select_one("span")
            price_text = price_el.get_text(strip=True) if price_el else None
            if not price_text:
                # Fallback: regex on full text
                pm = re.search(r"\$(\d[\d,.]*)", text)
                if pm:
                    price_text = pm.group(0)
            if price_text:
                pm = re.search(r"\$(\d[\d,.]*)", price_text)
                if pm:
                    unit.price = self.normalize_price(pm.group(1))

            unit.description = text[:200]

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

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

        return result

Scrape Runs (5)

Run #1313 Details

Status
exported
Parser Used
Facility076743Parser
Platform Detected
storageunitsoftware
Units Found
5
Stage Reached
exported
Timestamp
2026-03-23 03:04:59.284496
Timing
Stage Duration
Fetch3522ms
Detect97ms
Parse61ms
Export4ms

Snapshot: 076743_20260323T030502Z.html · Show Snapshot · Open in New Tab

Parsed Units (5)

Self Storage (6 x 20)

$99.00/mo

Self Storage (10 x 10)

$89.00/mo

Self Storage (8 x 20)

$139.00/mo

Climate Controlled (10 x 10)

$129.00/mo

Climate Controlled (10 x 20)

$199.00/mo

← Back to dashboard