Facility: 101646
IStorage
- Facility ID
- 101646
- Name
- IStorage
- URL
- https://www.nsastorage.com/storage/texas/storage-units-houston/2915-Old-Spanish-Trl-499
- Address
- 2915 Old Spanish Trl, Houston, TX 77054
- Platform
- custom_facility_101646
- Parser File
- src/parsers/custom/facility_101646_parser.py
- Last Scraped
- 2026-03-27 13:42:29.949727
- Created
- 2026-03-23 02:35:08.816820
- Updated
- 2026-03-27 13:42:29.978272
- Parser Status
- ✓ Working
- Status Reason
- N/A
- Last Healing Attempt
- Not attempted
Parser Source (src/parsers/custom/facility_101646_parser.py)
"""Parser for iStorage / NSA Storage facility 101646."""
from __future__ import annotations
import re
from bs4 import BeautifulSoup
from src.parsers.base import BaseParser, ParseResult, UnitResult
class Facility101646Parser(BaseParser):
"""Extract storage units from NSA Storage (iStorage) facility pages.
Units are in div.unit-select-item cards with dimension headings
and prices in div.part_item_price. Same platform layout as 017988.
"""
platform = "custom_facility_101646"
_SIZE_RE = re.compile(r"(\d+\.?\d*)\s*[xX×]\s*(\d+\.?\d*)")
def parse(self, html: str, url: str = "") -> ParseResult:
soup = BeautifulSoup(html, "lxml")
result = ParseResult(platform=self.platform, parser_name=self.__class__.__name__)
cards = soup.find_all(class_="unit-select-item")
seen: set[tuple[str, str]] = set()
for card in cards:
heading = card.find(class_="unit-select-item-detail-heading")
if not heading:
continue
size_text = heading.get_text(strip=True)
if not self._SIZE_RE.search(size_text):
continue
price_div = card.find(class_="part_item_price")
if not price_div:
continue
for sub in price_div.find_all("sub"):
sub.decompose()
price_text = price_div.get_text(strip=True)
price = self.normalize_price(price_text)
if price is None:
continue
key = (size_text, price_text)
if key in seen:
continue
seen.add(key)
in_store_price: float | None = None
old_price_div = card.find(class_="part_item_old_price")
if old_price_div:
stroke = old_price_div.find(class_="stroke")
if stroke:
in_store_price = self.normalize_price(stroke.get_text(strip=True))
promo_spans = card.find_all(class_="part_badge")
promo = "; ".join(
s.get_text(strip=True) for s in promo_spans if s.get_text(strip=True)
) or None
feature_items = card.find_all("li")
desc = ", ".join(li.get_text(strip=True) for li in feature_items if li.get_text(strip=True))
unit = UnitResult(
size=size_text,
price=price,
sale_price=in_store_price,
promotion=promo,
description=desc or None,
)
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 in NSA Storage unit-select-item cards")
return result
Scrape Runs (3)
Run #1060 Details
- Status
- exported
- Parser Used
- Facility101646Parser
- Platform Detected
- ccstorage
- Units Found
- 18
- Stage Reached
- exported
- Timestamp
- 2026-03-23 02:42:32.912251
Timing
| Stage | Duration |
|---|---|
| Fetch | 5239ms |
| Detect | 78ms |
| Parse | 71ms |
| Export | 7ms |
Snapshot: 101646_20260323T024238Z.html · Show Snapshot · Open in New Tab
Parsed Units (18)
5 x 4.9
$37.00/mo
Street: $24.00
5 x 4.9
$47.00/mo
Street: $30.00
5 x 5
$39.00/mo
Street: $25.00
5 x 5
$33.00/mo
Street: $21.00
5 x 7.5
$93.00/mo
Street: $60.00
5 x 10
$94.00/mo
Street: $61.00
5 x 10
$82.00/mo
Street: $53.00
5 x 10
$64.00/mo
Street: $41.00
7.5 x 10
$96.00/mo
Street: $62.00
7.5 x 10
$85.00/mo
Street: $55.00
10 x 10
$97.00/mo
Street: $63.00
10 x 10
$110.00/mo
Street: $71.00
10 x 15
$211.00/mo
Street: $137.00
10 x 15
$156.00/mo
Street: $101.00
10 x 20
$325.00/mo
Street: $211.00
10 x 20
$267.00/mo
Street: $173.00
10 x 20
$230.00/mo
Street: $149.00
10 x 25
$504.00/mo
Street: $327.00