# Changelog of Blocket.se Car Scraper - Sweden Used Car Listings (`rastriq/blocket-scraper`) Actor

- **URL**: https://apify.com/rastriq/blocket-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/rastriq/blocket-scraper.md

## Changelog

### 0.1 (build 0.1.3, 2026-06-22)

- Imported verbatim from the deployed `latest` build on 2026-11-14.

### 0.2 (beta build 0.2.2, 2026-11-14; 0.2.1 failed on output schema format)

- `make`/`model` now come from the page's schema.org ItemList (`brand.name`, `model`), keyed by
  listing URL. Before, the title was split at the first space, so two-word makes broke
  (`Land Rover Range Rover Sport` -> make `Land`, model `Rover Range Rover Sport`). A title split
  that knows multi-word makes remains as fallback.
- The info line is parsed token by token: cards without mileage no longer lose `year`,
  `fuel_type` and `gearbox`, and an electric range (`109 km räckvidd`) is no longer read as the
  gearbox.
- Seller block: a `Tryggad Bilaffär – Privat` badge no longer drops `city` and `is_professional`.
- New `searchQuery` input (Blocket free-text search, `q=`); the `make` variant code stays as an
  advanced option.
- A run that extracts nothing now FAILS with a status message instead of SUCCEEDED with 0 items.
- Store page: README rewritten; `dataset_schema.json` is now a JSON Schema with nullable types and
  `overview` / `pricing` views, referenced from `actor.json` (`storages.dataset`); real
  `output_schema.json`; input schema with sections, prefill and descriptions.
- `apify` pinned to `>=3.4,<4` (the 0.1 build ran 3.4.1).
- Offline tests (`tests/test_parse.py`) on two trimmed captures of Blocket search pages.
- Smoke on beta `XPmqm1zK9OxdZdeIw` (0.2.2, 256 MB, prefill input): SUCCEEDED, 50 items, all valid
  against the dataset schema, 53 MB max memory, 0 GB residential, 0.0077 USD per 1,000 items.
  `gearbox` empty in 14/50: electric and plug-in cards show range instead of gearbox.
