# Changelog of Talabat Scraper — Restaurants, Ratings & Cuisines (`blackfalcondata/talabat-com-scraper`) Actor

- **URL**: https://apify.com/blackfalcondata/talabat-com-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/blackfalcondata/talabat-com-scraper.md

## Changelog

All notable changes to this Actor are documented here.

### \[Unreleased]

#### Added

- Collect specific restaurants with `restaurantSlugs` (a slug uses the selected country, a full URL carries its own) and specific branches with `branchIds` (branch number or menu URL). Each branch is returned as its own record.
- Full area catalogue: `fullCatalog` with `catalogAreas` (area ids, names or listing URLs) and `maxAreas` returns every restaurant delivering to the chosen delivery areas. Each record carries `branchId`, `sourceAreaId` and `sourceAreaSlug`.
- Start URLs now also accept area listing URLs, restaurant pages and branch menu URLs.
- New output fields `branchId`, `sourceAreaId`, `sourceAreaSlug`. Existing runs keep their incremental state: the new inputs only affect the state key when used.
- Radius search: `lat`, `lon` and `radiusKm` now keep only restaurants within the radius and add `distanceKm` to every restaurant (restaurant pages are opened to read coordinates).
- `portalUrl` on every restaurant: its talabat page.
- Results are billed per delivered restaurant, and a run now stops cleanly at your maximum cost per run instead of ending as aborted.
- Run-complete events report item count, end reason and duration.
- Output view "All fields" in the dataset table, and a clearer Store title and description.
- `scrapeMenu` (off by default) adds the restaurant's full menu as `menuItems`. Each item has its name, description, price, old price, image and menu section.
- `scrapeMenuChoices` (off by default) adds each customizable menu item's choice tree in `menuItems[].choices`. A tree holds sizes, add-ons and extras with their prices, plus the selection rules: min/max, single or multi-select, mandatory. Each delivered tree is billed as the separate event "Menu choices fetched".
- `enrichPro` (off by default) adds `isTalabatPro` to each restaurant. It looks the restaurant up in talabat's vendor search, and one answer resolves its neighbours too. Every search call counts toward `maxEnrichRequests` (default 50). The flag is only filled when talabat lists that branch at run time, so a branch that is closed then keeps `isTalabatPro` empty. In a night run (UAE time) that was 3 of 60 restaurants.

#### Fixed

- Incremental runs where every restaurant is unchanged are no longer stopped early as idle: each restaurant read now counts as progress.
- Runs with no result limit (`maxResults` 0) now read every page of a search instead of stopping after the first, and the run is only treated as complete when the whole listing was read. A page that could not be read keeps the run marked incomplete.
- With `emitExpired` on, restaurants that disappeared since the last complete run are now delivered as `EXPIRED` rows (with `listingId`, `firstSeenAt`, `lastSeenAt`, `expiredAt`). They count toward `maxResults` and are billed like other rows. Incomplete runs never expire anything.
- An incremental search whose last restaurant disappeared now delivers it as `EXPIRED` (with `emitExpired` on) and saves the run's state, instead of ending as an empty run. A search that could not be read completely still expires nothing.
- Area catalogue: each branch that delivers to a chosen area is its own record (keyed by restaurant and branch) with that branch's own location, rating and payment flags. Values from the chain's default branch are no longer mixed into another branch's record, so radius filtering and the Pro lookup use the branch's real coordinates.
- Menus are no longer lost when a menu option (choice) request is slow or fails: the menu is kept, the options that did load are attached, and the run log notes how many restaurants had option details missing.
- The run log now shows plain progress and warning messages only; technical detail is no longer printed to it.
- A dropped connection to talabat is now retried instead of leaving that restaurant's menu empty.
- `paymentMethods` is now filled from the restaurant page (e.g. `visa`, `mastercard`, `cash`); it was always empty before.

### \[0.1.0] — 2026-11-15

Initial release.

#### Added

- Scrape products from talabat.com.
