# Changelog of Klook Scraper: Activities, Tours & Tickets Prices (`myth84/klook-activities-scraper`) Actor

- **URL**: https://apify.com/myth84/klook-activities-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/myth84/klook-activities-scraper.md

### Changelog

History of `klook-activities-scraper` (folder `actors/klook-activities`). Versions are the Apify build numbers.

#### Unreleased

- **Fix: the release control run failed its row count** (brief `docs/cloud-tasks/2026-10-25_klook-fix-release.md`, 2026-10-25). Symptom: the control run `1PYu47OOsH9U0ui3y` (`inputs/control-scale.json`: Tokyo, Paris and Bangkok, `maxResults` 300) gave 900 rows for 300 expected; the Actor was right (`maxResults` caps each destination, 3 × 300), the expectation was not: `scripts/lib/actor.mjs › expectedRows` multiplies `maxResults` by the number of `searchQueries` and `startUrls` only and does not count `destinations`. The control input now searches Tokyo alone (300 activities, details on, USD, datacenter proxies), so the release script expects the rows the Actor gives. A test replays `expectedRows` on every committed input and compares it with `maxResults` × the search tasks of the Actor; it fails on the former control input (300 expected, 900 given). No code change: rows, logs and charges are identical; validation and daily-check inputs, README, prices and example tasks unchanged.

#### 0.1 — 2026-10-25

- First version, built offline on the committed fixtures of the audit (`docs/audits/klook.md`, brief `docs/cloud-tasks/2026-10-24_klook-build.md`, PR #102). Output schema `travel-activity/1.0` (new, the unified row of the studio's activity scrapers); no personal data.
- Source: Klook's public `seo_tab` list API (50 activities per request, up to 1,000 per destination) and the `cards` API (50 activities per request) for the details and for `activityUrls`; datacenter proxies, a new session per request, no cookie. City names are resolved with Klook's city sitemap, read once per run. Never an HTML page of Klook, never a `/search/` path (robots.txt).
- Decisions of the build: Klook shows at most 3 labels per card (availability, then features, free cancellation and confirmation last), so `freeCancellation` and `instantConfirmation` are `null` (unknown) rather than `false` when a card with 3 labels does not show them; `includeDetails` then fills `instantConfirmation` from the activity's confirmation type. A confirmation label with a delay ("24-hour confirmation", same tag id as instant confirmation) gives `instantConfirmation` `false` and goes to `features`. `availableTomorrow` is `null` when the card says "today". Coordinates come from `latlng_wgs84` (then `latlng`).
