Facility: 000570
Selma Self-Storage
- Facility ID
- 000570
- Name
- Selma Self-Storage
- URL
- https://americanflagstorage.com/locations/eastern-nc/
- Address
- 1003 S Pollock St, Selma, NC 27576, USA, Selma, North Carolina 27576
- Platform
- custom_facility_000570
- Parser File
- src/parsers/custom/facility_000570_parser.py
- Last Scraped
- 2026-03-27 13:52:02.433766
- Created
- 2026-03-14 16:21:53.706708
- Updated
- 2026-03-27 13:52:02.460622
- Parser Status
- ✓ Working
- Status Reason
- N/A
- Last Healing Attempt
- Not attempted
Parser Source (src/parsers/custom/facility_000570_parser.py)
"""Parser for Selma Self-Storage."""
from __future__ import annotations
import re
from bs4 import BeautifulSoup
from src.parsers.base import BaseParser, ParseResult, UnitResult
class Facility000570Parser(BaseParser):
"""Extract storage units from Selma Self-Storage."""
platform = "custom_facility_000570"
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.fl-col-content.fl-node-content")
for container in containers:
unit = UnitResult()
text = container.get_text(separator=" ", strip=True)
# Extract size
size_el = None
size_text = size_el.get_text(strip=True) if size_el else None
if not size_text:
# Fallback: regex on full text
m = re.search(r"(\d+\s*[\'\'\u2032]?\s*[xX\u00d7]\s*\d+\s*[\'\'\u2032]?)", text)
if m:
size_text = m.group(1)
if size_text:
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
price_el = None
price_text = price_el.get_text(strip=True) if price_el else None
if not price_text:
# Fallback: regex on full text
pm = re.search(r"\$(\d[\d,.]*)", text)
if pm:
price_text = pm.group(0)
if price_text:
pm = re.search(r"\$(\d[\d,.]*)", price_text)
if pm:
unit.price = self.normalize_price(pm.group(1))
unit.description = text[:200]
if unit.size or unit.price:
result.units.append(unit)
if not result.units:
result.warnings.append("No units found")
return result
Scrape Runs (5)
-
exported Run #18192026-03-27 13:51:53.963183 | 2 units | Facility000570Parser | View Data →
-
exported Run #18182026-03-27 13:51:53.316588 | 2 units | Facility000570Parser | View Data →
-
exported Run #11722026-03-23 02:53:21.984232 | 2 units | Facility000570Parser | View Data →
-
exported Run #6792026-03-21 18:44:38.005862 | 2 units | Facility000570Parser | View Data →
-
exported Run #2282026-03-14 16:26:43.988513 | 2 units | Facility000570Parser | View Data →
Run #1818 Details
- Status
- exported
- Parser Used
- Facility000570Parser
- Platform Detected
- table_layout
- Units Found
- 2
- Stage Reached
- exported
- Timestamp
- 2026-03-27 13:51:53.316588
Timing
| Stage | Duration |
|---|---|
| Fetch | 6796ms |
| Detect | 18ms |
| Parse | 11ms |
| Export | 19ms |
Snapshot: 000570_20260327T135200Z.html · Show Snapshot · Open in New Tab
Parsed Units (2)
Unknown Size
$35.00/mo
Unknown Size
$35.00/mo