Facility: 109944

StorQuest 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
109944
Name
StorQuest Self Storage
URL
https://www.storquest.com/self-storage/ca/folsom/1533/
Address
1775 Cavitt Dr, Folsom, CA 95630, USA, Folsom, California 95630
Platform
custom_facility_109944
Parser File
src/parsers/custom/facility_109944_parser.py
Last Scraped
2026-03-27 13:44:19.838365
Created
2026-03-20 23:23:10.660695
Updated
2026-03-27 13:44:19.866243
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_109944_parser.py)
"""Parser for StorQuest Self Storage (Folsom, CA)."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility109944Parser(BaseParser):
    """Extract storage units from StorQuest using embedded Next.js state data."""

    platform = "custom_facility_109944"

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

        # StorQuest embeds unit data in escaped JSON within __next_f.push calls
        # Unit names follow the pattern: "5x10x0 - $58.00 - ..."
        # We deduplicate by (width, length) taking the lowest price per size
        unit_names = re.findall(
            r'\\"name\\":\\"(\d+x\d+x\d+ - \$[\d.]+[^\\]*)\\"',
            html,
        )

        # Extract (width, length, price) from each name
        seen: dict[tuple[int, int], float] = {}
        for name in unit_names:
            m = re.match(r"(\d+)x(\d+)x\d+ - \$(\d+\.?\d*)", name)
            if not m:
                continue
            width, length, price = int(m.group(1)), int(m.group(2)), float(m.group(3))
            key = (min(width, length), max(width, length))
            if key not in seen or price < seen[key]:
                seen[key] = price

        for (w, ln), price in sorted(seen.items()):
            unit = UnitResult()
            unit.size = f"{w}' x {ln}'"
            unit.price = price
            _, _, sq = self.normalize_size(unit.size)
            if sq is not None:
                unit.metadata = {"width": w, "length": ln, "sqft": sq}
            result.units.append(unit)

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

        return result

Scrape Runs (4)

Run #1647 Details

Status
exported
Parser Used
Facility109944Parser
Platform Detected
ccstorage
Units Found
9
Stage Reached
exported
Timestamp
2026-03-27 13:44:14.603165
Timing
Stage Duration
Fetch5053ms
Detect122ms
Parse1ms
Export18ms

Snapshot: 109944_20260327T134419Z.html · Show Snapshot · Open in New Tab

Parsed Units (9)

5' x 5'

$45.00/mo

5' x 7'

$58.00/mo

5' x 10'

$58.00/mo

8' x 10'

$105.00/mo

10' x 10'

$125.00/mo

10' x 15'

$125.00/mo

10' x 20'

$139.00/mo

10' x 25'

$148.00/mo

15' x 20'

$384.00/mo

← Back to dashboard