# Changelog of wlw.de Scraper — German B2B Supplier Leads (`stone_jadex/wlw-de-company-scraper`) Actor

- **URL**: https://apify.com/stone_jadex/wlw-de-company-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/stone_jadex/wlw-de-company-scraper.md

## Changelog

### 0.2.1 — 2026-11-21 (Input schema polish & Store README upgrade)

#### Changed

- `.actor/input_schema.json`: Added `sectionCaption` and `sectionDescription` groupings across all four input sections (`Search target & URLs`, `Search filters (keyword mode only)`, `Crawl limits & detail enrichment`, `Rate limits, runtime & proxy`), keeping all existing `prefill` values intact and keeping `keyword`, `supplierTypes`, and `city` without schema `default` values to prevent `startUrls` injection conflicts.
- `README.md`: Added illustrative detail JSON output example, full 57-field dataset reference, complete 16-parameter input table, second JSON input example, live Apify Store subscription tier pricing table (`FREE` through `DIAMOND` for `wlw-listing-result` and `wlw-detail-result`), JavaScript & Python `ApifyClient` SDK quickstarts (`Stone_JadeX/wlw-de-company-scraper`), and `2026-11-21` changelog section.

#### Unchanged

- Runtime scraping logic (`src/*.js`), PPE event names and Free-tier rates (`wlw-listing-result` $0.001, `wlw-detail-result` $0.0015), `dataset_schema.json` `views` (`overview`), `output_schema.json`, `key_value_store_schema.json`.

### Unreleased — 2026-11-16 (AWS WAF challenge, multi-seed pagination, deduplicate=false)

#### Changed

- AWS WAF challenge pages are recognized as `blocked-challenge`: response header `x-amzn-waf-action: challenge`, or HTTP 202 with `awswaf` / `challenge.js` in the body. The run stops at once (no back-off, no retry), `failed=true`, the platform status stays SUCCEEDED, and already written rows stay charged. Covers list pages, detail pages, and direct company start URLs.
- An unblocked list 404 or empty `companies` page now ends only that search start URL; later search URLs still run. After all seeds, the run follows WORKFLOW L30: rows → `completed`; 0 rows and no error → `empty` (`failed=false`); any list failure → `errors` (`failed=true`). `page-end-404` and `empty-page` are no longer emitted as run-level `stopReason`. A block or challenge still stops the whole run.
- `deduplicate=false` is now honored: repeat `companyId` rows are kept and each is charged. Default remains `true`.

#### Unchanged

- Prices, event names, parser fields, proxy rejection, README and schema bodies (schema/README tests that locked the old stopReasons are in `TEMP_UNTIL_SCHEMA_SYNC`).

### Unreleased — 2026-11-16 (end-state unification)

#### Changed

- OUTPUT end-state (幕僚 2026-11-16 12:29 / WORKFLOW L30): `blocked-*` / `blocked-challenge`, hard `run-time-limit`, and list-page `errors` now set `failed=true`. `finish()` call sites pass `{ failed: true }`; `finish()` also infers the same if the flag is omitted. The platform run itself stays SUCCEEDED (no `Actor.fail`).
- 0 rows and no error now ends as `stopReason=empty`, `failed=false` (previously this fallthrough was `completed`). A successful detail-only (or other 0-list-seed) run with rows still ends `completed`. `page-end-404`, `empty-page` and `maxItems` stay `failed=false` and are not renamed.

### Unreleased — 2026-11-16 (final batch 1: unified block rules, prices)

#### Changed

- Blocking: HTTP 412 is a block code like 403/429 (back-off 30 s, then 60 s). Once a request has seen a block code it ends as `blocked-<most recent block code>`; any later non-200 (4xx incl. 404, 5xx, refused 3xx), timeout or network error ends it at once (K1) and stops the whole run. Previously a 403 followed by a 404 ended the run as a normal `page-end-404`, and other failures after a block ended `completed`.
- `stopReason` names: `blocked-403-or-429` → `blocked-403` / `blocked-412` / `blocked-429`; `challenge-or-auth` → `blocked-challenge`. A list page that fails without a block (5xx after retries, other 4xx, timeout, network error) now ends the run as `errors` instead of `completed` (still SUCCEEDED; only saved rows are charged). A plain 404 with no block before it is still the normal `page-end-404`.
- Detail enrichment failure no longer drops the row: the list row is saved with `detailStatus`/`detailError` and charged as `wlw-listing-result`. On a blocked/challenged detail request the list row in hand is saved and charged as a listing row, then the run stops.
- Prices: `wlw-detail-result` $0.001 → $0.0015; `wlw-listing-result` stays $0.001. No start event.

#### Added

- OUTPUT: `runNotice` (names only the back-offs that really happened and what the next attempt got), `errors[].type` (`blocked` / `blocked-challenge` / `list-error` / `detail-error`), `errors[].lastFailure`, `errors[].url`, `http.status412`.

#### Unchanged

- Event names, input schema, dataset fields, push-before-charge order, proxy rejection (no proxy logic in this release).

### 0.1.0 — 2026-11-08 (developer freeze)

- Initial wlw.de (Wer liefert was) Actor: public Nuxt SSR HTML only (`script#__NUXT_DATA__` devalue decode).
- Defaults: keyword `metallbau`, maxItems 100, includeDetails=false, deduplicate=true, requestDelayMs≥1200; nonempty proxy rejected.
- Dual PPE (local `.actor/pay_per_event.json` only, no start-fee): `wlw-listing-result` / `wlw-detail-result` @ $0.001 (anchor plowdata $0.002 × 50%).
- Email: null + reason when empty; never reveal; never invent; never platform footer (`info@visable.com`). `emailExisting=true` ≠ obtained email.
- Pagination: HTTP 404 or empty companies → SUCCEEDED (`page-end-404` / `empty-page`); record lastSuccessfulPage / lastAttemptedPage / pagesFetched; do not promise claimed totalPages (probe 961 → 404).
- Global dedupe by `companyId` before enrich/charge.
- robots.txt UA `*` `Disallow:/` → warning + `robotsDisallowedHits` every request; still proceed; never spoof search-engine Allow UA.
- No schema / README in this developer freeze.
- Tests: `node --test --test-reporter=tap` → `# fail 0`.
