Facility: 015603

Al's Mini 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
015603
Name
Al's Mini Storage
URL
https://www.alsministorage.com/our-facilities/glendive/
Address
2020 N Merrill Ave, Glendive, MT 59330, USA, Glendive, Montana 59330
Platform
custom_facility_015603
Parser File
src/parsers/custom/facility_015603_parser.py
Last Scraped
2026-03-27 13:43:43.567524
Created
2026-03-20 23:23:10.660695
Updated
2026-03-27 13:43:43.598161
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_015603_parser.py)
"""Parser for Al's Mini Storage (Glendive, MT)."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility015603Parser(BaseParser):
    """Extract storage units from Al's Mini Storage - Glendive location."""

    platform = "custom_facility_015603"

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

        # Units listed as <li> items inside ul.two-column-list
        # Size text includes " storage unit" suffix, e.g. "5×10 storage unit"
        unit_list = soup.select_one("ul.two-column-list")
        if not unit_list:
            result.warnings.append("No unit list found on page")
            return result

        for li in unit_list.find_all("li"):
            raw_text = li.get_text(strip=True)
            if not raw_text:
                continue

            # Normalize × (multiplication sign) to x and strip trailing " storage unit"
            size_text = raw_text.replace("×", "x").replace("×", "x")
            # Remove trailing "storage unit" suffix
            size_text = re.sub(r"\s*storage unit\s*$", "", size_text, flags=re.IGNORECASE).strip()

            if not re.search(r"\d+", size_text):
                continue

            unit = UnitResult()
            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}

            result.units.append(unit)

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

        return result

Scrape Runs (4)

Run #1626 Details

Status
exported
Parser Used
Facility015603Parser
Platform Detected
ccstorage
Units Found
7
Stage Reached
exported
Timestamp
2026-03-27 13:43:40.054144
Timing
Stage Duration
Fetch3425ms
Detect14ms
Parse12ms
Export19ms

Snapshot: 015603_20260327T134343Z.html · Show Snapshot · Open in New Tab

Parsed Units (7)

5x10

No price

10x10

No price

10x15

No price

10x20

No price

10x26

No price

12x24

No price

12x26

No price

← Back to dashboard