Facility: 053531

General Sales Co

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
053531
Name
General Sales Co
URL
https://www.francisofwharton.com/city-wide-third-st-storage
Address
1014 N Richmond Rd, Wharton, TX 77488, USA, Wharton, Texas 77488
Platform
custom_facility_053531
Parser File
src/parsers/custom/facility_053531_parser.py
Last Scraped
2026-03-27 13:41:42.180956
Created
2026-03-23 02:35:08.816820
Updated
2026-03-27 13:41:42.207574
Parser & Healing Diagnosis working
Parser Status
✓ Working
Status Reason
N/A
Last Healing Attempt
Not attempted
Parser Source (src/parsers/custom/facility_053531_parser.py)
"""Parser for General Sales Co — City-Wide & Third St. Storage."""

from __future__ import annotations

import re

from bs4 import BeautifulSoup

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


class Facility053531Parser(BaseParser):
    """Extract storage units from City-Wide & Third St. Storage (Wix site).

    Units are displayed in a Wix repeater widget with size, category
    (Small/Medium/Large), and climate info. No prices listed — site
    says 'Contact us' for each unit.
    """

    platform = "custom_facility_053531"

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

        # Units are in Wix repeater items
        repeater_items = soup.find_all(class_=re.compile(r"wixui-repeater__item"))

        for item in repeater_items:
            text = item.get_text(" ", strip=True)

            # Look for size pattern like "5 x 8", "10 x 17"
            size_match = re.search(r"(\d+\s*x\s*\d+)", text, re.IGNORECASE)
            if not size_match:
                continue

            unit = UnitResult()
            size_text = size_match.group(1)
            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 category (Small/Medium/Large)
            cat_match = re.search(r"(Small|Medium|Large)", text, re.IGNORECASE)
            category = cat_match.group(1) if cat_match else None

            # Extract climate info
            climate = None
            if "Climate-Controlled" in text:
                climate = "Climate-Controlled"
            elif "Non Climate-Controlled" in text:
                climate = "Non Climate-Controlled"

            desc_parts = []
            if category:
                desc_parts.append(category)
            if climate:
                desc_parts.append(climate)
            unit.description = ", ".join(desc_parts) if desc_parts else text[:200]

            # No prices listed — site says "Contact us"
            unit.price = None

            result.units.append(unit)

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

        return result

Scrape Runs (3)

Run #1578 Details

Status
exported
Parser Used
Facility053531Parser
Platform Detected
table_layout
Units Found
6
Stage Reached
exported
Timestamp
2026-03-27 13:41:38.503466
Timing
Stage Duration
Fetch3563ms
Detect37ms
Parse17ms
Export17ms

Snapshot: 053531_20260327T134142Z.html · Show Snapshot · Open in New Tab

Parsed Units (6)

5 x 8

No price

9 x 15

No price

10 x 17

No price

10 x 15

No price

12 x 30

No price

5 x 10

No price

← Back to dashboard