Facility: 037932
Treasure State Storage
- Facility ID
- 037932
- Name
- Treasure State Storage
- URL
- https://www.treasurestatestorage.com/sizingpricing/
- Address
- N/A
- Platform
- custom_facility_037932
- Parser File
- src/parsers/custom/facility_037932_parser.py
- Last Scraped
- 2026-03-23 03:18:55.383909
- Created
- 2026-03-06 23:45:35.865957
- Updated
- 2026-03-23 03:18:55.391596
- Parser Status
- ✓ Working
- Status Reason
- N/A
- Last Healing Attempt
- Not attempted
Parser Source (src/parsers/custom/facility_037932_parser.py)
"""Parser for Treasure State Storage (facility 037932).
This site uses a "GW Grid Options" WordPress plugin that renders unit pricing
as a grid of cards. Each card is a ``div.gw-go-col-wrap`` element containing:
- An ``h3`` with the size (e.g. "10 x 20")
- A ``span[data-id="amount"]`` with the monthly price as a plain integer
- ``li`` elements in ``ul.gw-go-body`` with plain-text descriptions
"""
from __future__ import annotations
from bs4 import BeautifulSoup
from src.parsers.base import BaseParser, ParseResult, UnitResult
class Facility037932Parser(BaseParser):
"""Extract storage units from Treasure State Storage.
Unit cards use the GW Grid Options plugin structure:
<div class="gw-go-col-wrap ...">
<h3>10 x 20</h3>
<span data-id="amount">100</span>
<ul class="gw-go-body">
<li>...</li>
</ul>
</div>
"""
platform = "custom_facility_037932"
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.gw-go-col-wrap")
for container in containers:
unit = UnitResult()
# Extract size from h3
size_el = container.select_one("h3")
if size_el:
size_text = size_el.get_text(strip=True)
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 from the first span[data-id="amount"] (front-face coin)
price_el = container.select_one("span[data-id='amount']")
if price_el:
unit.price = self.normalize_price(price_el.get_text(strip=True))
# Extract description from li body cells
li_items = container.select("ul.gw-go-body li")
desc_parts: list[str] = []
for li in li_items:
cell = li.select_one("div.gw-go-body-cell")
if cell:
desc_parts.append(cell.get_text(separator=" ", strip=True))
if desc_parts:
unit.description = "; ".join(desc_parts)
if unit.size or unit.price:
result.units.append(unit)
if not result.units:
result.warnings.append("No units found on page")
return result
Scrape Runs (5)
-
exported Run #14752026-03-23 03:18:46.441947 | 7 units | Facility037932Parser | View Data →
-
exported Run #9822026-03-21 19:11:41.459666 | 7 units | Facility037932Parser | View Data →
-
exported Run #5352026-03-14 16:54:12.929106 | 7 units | Facility037932Parser | View Data →
-
exported Run #1372026-03-14 01:05:56.011420 | 7 units | Facility037932Parser | View Data →
-
exported Run #562026-03-13 21:37:34.551661 | 7 units | Facility037932Parser | View Data →
Run #56 Details
- Status
- exported
- Parser Used
- Facility037932Parser
- Platform Detected
- storageunitsoftware
- Units Found
- 7
- Stage Reached
- exported
- Timestamp
- 2026-03-13 21:37:34.551661
Timing
| Stage | Duration |
|---|---|
| Fetch | 8901ms |
| Detect | 15ms |
| Parse | 11ms |
| Export | 13ms |
Snapshot: 037932_20260313T213743Z.html · Show Snapshot · Open in New Tab
Parsed Units (7)
5 x 10
$55.00/mo
10 x 10
$75.00/mo
10 x 15
$85.00/mo
10 x 20
$100.00/mo
10 x 25
$115.00/mo
10 x 30
$140.00/mo
10 x 40
$160.00/mo