# Changelog of Property24 South Africa Scraper (`stone_jadex/property24-za-scraper`) Actor

- **URL**: https://apify.com/stone_jadex/property24-za-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/stone_jadex/property24-za-scraper.md

## Changelog

### 0.1.5 — 2026-11-24 (Store launch staging, schema UX & README upgrade)

- **Store Metadata & Pricing Staging**: Cleaned internal notes from `.actor/actor.json` (`readme: "../README.md"`, concise Store description), staged Store categories (`REAL_ESTATE`), SEO metadata, Store subscription tier discounts (`Bronze 5%`, `Silver 10%`, `Gold/Platinum/Diamond 15%`), and marked `property24-listing-result` as primary PPE event.
- **Input & Dataset Schema Polish**: Added logical `sectionCaption` groups in `.actor/input_schema.json` (`Target URLs & Search Path`, `Collection Limits & Detail Depth`, `Pacing, Runtime & Proxy`), preserved `proxyConfiguration` without schema `default`, and added a `details` view alongside `overview` in `.actor/dataset_schema.json`.
- **Reliability & Documentation**: Preserved structured `invalid-input` `OUTPUT` diagnostics in `src/main.js`, expanded `README.md` (>20k chars) with full input/field tables, JSON examples, Store tier discount table, JS & Python `ApifyClient` quickstarts, and added Store-polish regression tests.

### 0.1.4 — 2026-11-09 (buyer-selected residential proxy groups)

- Buyer-optional `proxyConfiguration` still default off. When Apify Proxy is enabled, buyer-selected groups (`apifyProxyGroups` / `groups`, e.g. `RESIDENTIAL`) are passed through to `Actor.createProxyConfiguration` as both `groups` and `apifyProxyGroups`. SDK `countryCode` mirrored from `apifyProxyCountry`.
- **No auto-inject / no auto-upgrade**: `useApifyProxy:true` alone does not add RESIDENTIAL; 403/429/503 never switch groups/session/IP. Default/datacenter Apify Proxy often gets HTTP 503 from property24.com — buyers should explicitly select RESIDENTIAL.
- Sticky sessionId remains legal `property24_sticky` (`/^[\w._~]+$/`).
- input_schema descriptions updated (proxy editor still; no new top-level properties; no schema `default`). README not rewritten — handoff notes copy sync for 文案官.
- Tests: `# tests 49` / `# fail 0` (new proxy-groups coverage + schema allowlist for SDK aliases). Local `apify run` maxItems=2 proxy off → 2 rows.

### 0.1.3 — 2026-11-09 (proxy sessionId)

- Fix sticky Apify proxy `sessionId`: `property24-sticky` → `property24_sticky` so it matches `/^[\w._~]+$/`. Hyphen caused `newUrl` validation failure → proxy never applied (PROXY\_\*=0) when buyer enabled `useApifyProxy`.
- Tests lock charset + forbid legacy hyphenated value; main path asserts `createProxyConfiguration`/`newUrl` receives legal session. `# tests 45` / `# fail 0`. Local `apify run` maxItems=2 → 2 rows.
- input_schema description sticky name synced only; README unchanged (buyer input behavior unchanged).

### 0.1.2 — 2026-11-09 (platform reachability)

- Root cause: Apify datacenter egress gets HTTP 503 from property24.com; box egress with the same URL returns 200 (Actor UA and browser UA both 200). Not OOM.
- Allow optional buyer `proxyConfiguration` (default `useApifyProxy: false`). Nonempty config is accepted and wired via `Actor.createProxyConfiguration` when enabled. Sticky proxy session only — no auto-enable, no session/IP/UA rotation, no upgrade-after-block.
- Browser-like User-Agent + Accept / Sec-Fetch headers (still public pages only).
- HTTP 503 treated like 403/429: ≥30s backoff, max 2 retries, then `blocked` → stopReason `blocked-403-or-429`, SUCCEEDED `failed=false`. Normal empty results still SUCCEEDED.
- input_schema descriptions updated for optional proxy / platform 503 note (no property add/rename/remove). README needs copy pass.
- Tests: `# tests 42` / `# fail 0`. Local `apify run` maxItems=2 → 2 rows.

### 0.1.0 — 2026-11-08

- Initial Property24 (property24.com ZA) Actor developer freeze (no schema/README — specialist roles).
- Public SSR HTML only: list tiles `.p24_tileContainer[data-listing-number]` (real 9-digit IDs; P-prefix deduped; skip 4-digit development entities); detail via JSON-LD `@graph` RealEstateListing (`offers` plural), `window.listingLeadFormContext` safe JSONDecoder (opaque contact tokens stripped), and DOM (h1/price/expanded description/overview/keyFeatures/gallery).
- Pagination path `/pN` (not `?Page=`). Empty tiles or natural 404 → stopReason `empty-page` / `page-end-404` SUCCEEDED.
- Defaults: `/for-sale/langebaan/western-cape/427`, maxItems 100, `includeDetails=false`, requestDelayMs≥1200, nonempty proxy rejected, memory 256 / timeout 3600 metadata.
- Dual custom PPE (local only): `property24-listing-result` / `property24-detail-result` at $0.001 each (anchor memo23/property24-scraper default-item $0.002 → 50%). Detail-enriched rows charge detail only. No start-fee / no contact-email enrichment event.
- Contacts: professional identity only (name/jobTitle/agency/logo/profile); `emailAddress` / `contactNumbers` / `agentWhatsappContact` null when no plaintext — never call ShowContact\* / decrypt / invent tel from `hasContactNumber`. Private listings omit private contacts. POI/soldPrices null+reason (endpoints not called).
- HTTP: SSRF+path allowlist each hop, ≥1200ms spacing, 403/429 floor 30s×2 then site stop SUCCEEDED, captcha protective stop (form reCAPTCHA embed ≠ wall), robots warning+hits, ToS probe → `termsRisk=high`.
- TDD: redlogs ERR_ASSERTION-pure stubs; final `# fail 0` on `node --test --test-reporter=tap`.
