Facility: 112060

StoreLocal 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
112060
Name
StoreLocal Storage
URL
https://www.storelocal.com/storage-units/oklahoma/oklahoma-city/storelocal-film-row-3502346/
Address
1711 NW 5th St, Oklahoma City, OK 73106, USA, Oklahoma City, Oklahoma 73106
Platform
custom_facility_112060
Parser File
src/parsers/custom/facility_112060_parser.py
Last Scraped
2026-03-27 13:45:49.837142
Created
2026-03-20 23:23:10.660695
Updated
2026-03-27 13:45:49.867230
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_112060_parser.py)
"""Parser for StoreLocal Storage (Oklahoma City)."""

from __future__ import annotations

import json

from bs4 import BeautifulSoup

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


class Facility112060Parser(BaseParser):
    """Extract storage units from StoreLocal using JSON-LD offer catalog."""

    platform = "custom_facility_112060"

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

        # Extract units from JSON-LD SelfStorage schema with hasOfferCatalog
        scripts = soup.find_all("script", type="application/ld+json")
        for script in scripts:
            try:
                data = json.loads(script.string or "")
                if not isinstance(data, dict):
                    continue
                catalog = data.get("hasOfferCatalog", {})
                if not catalog:
                    continue
                items = catalog.get("itemListElement", [])
                seen_sizes = set()
                for item in items:
                    if item.get("@type") != "Product":
                        continue
                    size_str = item.get("size", "").strip()
                    if not size_str or size_str in seen_sizes:
                        continue
                    seen_sizes.add(size_str)

                    offers = item.get("offers", {})
                    low_price = offers.get("lowPrice")
                    high_price = offers.get("highPrice")
                    price_val = low_price if low_price is not None else high_price

                    unit = UnitResult()
                    unit.size = size_str
                    w, ln, sq = self.normalize_size(size_str)
                    if w is not None:
                        unit.metadata = {"width": w, "length": ln, "sqft": sq}
                    if price_val is not None:
                        unit.price = float(price_val)
                    if unit.size or unit.price:
                        result.units.append(unit)
            except (json.JSONDecodeError, AttributeError, TypeError):
                continue

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

        return result

Scrape Runs (4)

Run #1102 Details

Status
exported
Parser Used
Facility112060Parser
Platform Detected
storageunitsoftware
Units Found
9
Stage Reached
exported
Timestamp
2026-03-23 02:46:19.899745
Timing
Stage Duration
Fetch2268ms
Detect137ms
Parse60ms
Export6ms

Snapshot: 112060_20260323T024622Z.html · Show Snapshot · Open in New Tab

Parsed Units (9)

5' x 5'

$14.00/mo

5' x 10'

$25.00/mo

10' x 5'

$41.00/mo

9' x 10'

$49.00/mo

10' x 10'

$50.00/mo

10' x 15'

$81.00/mo

15' x 10'

$81.00/mo

10' x 20'

$99.00/mo

25' x 20'

$271.00/mo

← Back to dashboard