Facility: 107989

SecurCare 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
107989
Name
SecurCare Self Storage
URL
https://www.nsastorage.com/storage/california/storage-units-lodi/1935-South-Stockton-St-1205
Address
1935 S Stockton St, Lodi, CA 95240, USA, Lodi, California 95240
Platform
custom_facility_107989
Parser File
src/parsers/custom/facility_107989_parser.py
Last Scraped
2026-03-27 14:07:03.565287
Created
2026-03-14 16:21:53.706708
Updated
2026-03-27 14:07:03.592132
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_107989_parser.py)
"""Parser for SecurCare Self Storage."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility107989Parser(BaseParser):
    """Extract storage units from SecurCare Self Storage."""

    platform = "custom_facility_107989"

    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.unit-select-item")

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

            # Extract size
            size_el = container.select_one("div.unit-select-item-detail-heading")
            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("div.part_item_price")
            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 #2186 Details

Status
exported
Parser Used
Facility107989Parser
Platform Detected
ccstorage
Units Found
12
Stage Reached
exported
Timestamp
2026-03-27 14:06:59.420276
Timing
Stage Duration
Fetch3847ms
Detect37ms
Parse34ms
Export23ms

Snapshot: 107989_20260327T140703Z.html · Show Snapshot · Open in New Tab

Parsed Units (12)

5 x 10

$68.00/mo

10 x 10

$109.00/mo

10 x 15

$188.00/mo

10 x 15

$116.00/mo

10 x 20

$164.00/mo

10 x 25

$214.00/mo

10 x 30

$249.00/mo

10 x 20

$144.00/mo

10 x 20

$164.00/mo

10 x 25

$214.00/mo

10 x 30

$200.00/mo

10 x 30

$249.00/mo

← Back to dashboard