Spec

2.9 Data Mapping: Beyond360 Ingest

Specification, workflow, and technical reference for the data mapping beyond360 module.

TEXTBOOK SPECIFICATION

Scraper Configuration

The scraper is configured with a scraper: block in the mapping spec. Key parameters:

ParameterValue
scraper.urlhttps://livinginsider.com/listing?page={page}
scraper.rendererstatic with Chromium fallback
scraper.selector.listings.listing-card
scraper.selector.title.listing-title h3
scraper.selector.price.listing-price .amount
scraper.selector.location.listing-location
scraper.selector.agent.agent-name
scraper.sessionlogin_form at /login; credentials in vault
scraper.rate_limit2 req/s, burst 5, exponential backoff
scraper.change_detectorSHA256 hash of listing grid HTML; skip if unchanged
scraper.schema_drift.detectorXPath expression matching expected column headers

⚠ Compliance note: This is a scraper source. Any PII (agent phone numbers, email addresses) extracted via scraping is routed to the compliance quarantine table — not the live canonical schema. A human compliance officer must sign off before it becomes active. The mapping YAML carries provenance.type: scraper and provenance.compliant: false until approval.

Field Mapping: Property Listings

Scraper Selector Source Field Target Table Target Column PII Compliance Status
.listing-title h3 Title / Property name tbl_assets asset_name T2 Pass
.listing-location Address / Area tbl_addresses address_line_1 T1 Pass
.listing-price .amount Rent / Sale price tbl_services service_fee T2 Pass
.listing-bedrooms Bedroom count tbl_assets bedroom_count T2 Pass
.listing-type Property type (house, condo, etc.) tbl_assets property_type T2 Pass
.listing-description Description text tbl_description description_html T2 Pass
.agent-name Agent name tbl_persons full_name T0 ⚠ Quarantine
.agent-phone Agent phone number tbl_persons_channels channel_value T0 ⚠ Quarantine
.agent-email Agent email tbl_persons_channels channel_value T0 ⚠ Quarantine
.listing-image img Property image URL tbl_media url T2 Pass

Scraper Observation Logging

Every scrape run writes to tbl_scraper_observations. This drives alerting: if selector_success_rate drops below 90%, the site's HTML structure may have changed — an agent triggers a schema drift incident.

ColumnExampleAlert Threshold
urlhttps://livinginsider.com/listing?page=2—
http_status200≠ 200 → alert
raw_hashsha256:a1b2c3...Compared with last successful run
selector_success_rate0.9830< 0.90 → PAGE
rows_extracted48Expected range ±10%
session_age_seconds5400Re-login if > 7200s
render_ms1200> 5000ms → downgrade to static

Backfill & Catch-up Strategy

Since the source is a scraper (no API, no sequential IDs), backfill uses window-based catch-up:

  • Full backfill: Scrape every listing page (1 → N). Store page-level raw hashes to skip unchanged pages.
  • Catch-up: Compare current listing grid hash with last successful run's hash. If changed, scrape only the changed pages.
  • Repair: Re-process specific listing URLs from tbl_pipeline_errors failures.

Source Profile

Org: Beyond360

Source: livinginsider.com

Type: SCRAPER

Auth: Cookie session

Render: Static + Chromium

Delta: Content-hash