# Changelog of 2dehands.be Car Scraper (`rastriq/2dehands-scraper`) Actor

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

## Changelog

### 0.2 — 2026-11-14

Same causes as the Marktplaats fix (2dehands.be runs on the same platform and the same
search API):

- `make` came from `verticals`, which holds the vehicle type for vans and trucks
  ("Trucks", "Vans") and lower-cased slugs ("Bmw", "Mercedes-benz"). The brand is the
  listing's sub-category (`categoryId`, e.g. 93 = Audi); `make` now resolves from the
  `brand` attribute → brand category → known brand starting the title.
- `model`, `year`, `km`, `fuel_type` and `gearbox` were null on 100 % of rows (hard-coded
  `None`). They are now read from `attributes` / `extendedAttributes`. `hp` is filled
  (kW → PS) when the search result carries `enginePowerKW`, which is rare.
- `url` used `/v/<itemId>`, which returns 404; it now uses the listing's `vipUrl`.
- The `brand` input was sent as `searchQuery`, which the API ignores, so it returned all
  cars. It is now sent as `query` (free-text search, like the site's search box).
- `is_professional` was `true` for every listing without an `advertiser` attribute
  (about two thirds). It is now `true` for dealers, `false` for private sellers and
  `null` when the search result does not say. **The field is now nullable.**
- `max_pages` is capped at 167, the last page the site serves.
- A run with 0 extracted listings now fails instead of ending SUCCEEDED.
- Store page: README, dataset views, output schema, prefill, 256 MB default memory.
- Offline tests over captured search pages (`tests/`).

### 0.1 — imported from Apify build 0.1.1 (2026-06-22)
