# Changelog of Booking.com Scraper (`scrapeai/booking-com-scraper`) Actor

- **URL**: https://apify.com/scrapeai/booking-com-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/scrapeai/booking-com-scraper.md

## Changelog

### 2.0.0 (2026-11-14)

- The actor no longer contacts booking.com. booking.com answers plain HTTP requests with an AWS WAF challenge page (HTTP 202), so every run of the earlier page-crawling version ended without hotel rows. The challenge is not bypassed.
- New data source: public Google Images results for `site:booking.com/hotel <words>`, read through the Apify `GOOGLE_SERP` proxy group (one request per search, plus one repeat only after a timeout). Rows carry the hotel page URL, `hotelId` (`<cc>/<name>`), `countryCode`, `name` and `city` (from the page title that Google shows), the exact title (`pageTitle`) and the Google query and position. There is no price, availability, review score, review, star rating, amenity, room, photo, address or coordinate.
- Optional `resultSource: "web"` reads Google web results instead (adds the result text as `summary`; Google often prints only opaque redirect links for them, which are never followed, so it can return few or no rows).
- Start URLs are never requested: only the destination words (`ss=` of a search page, or the name in a city/region/district/landmark URL) are added to the Google query. `query`, `startUrls`, `maxItems`, `maxPages` and the destination fields of the legacy `targetInput` still work; every other earlier input field is accepted, ignored and listed in the run log.
- New inputs: `resultSource`, `googleCountry`. `maxItems` can now be set up to 1000 (default 50); a run still returns only what Google shows, about 40 to 65 hotel pages per search.
- Removed the HTTP crawler with browser-like headers (got-scraping), the Playwright fallback with a spoofed User-Agent, and the proxy retry after HTTP 403. Dependencies are now `apify` and `cheerio` only; the Docker image has no browser.
- A run without any hotel fails with a message that says why (`Actor.fail`); a run with rows succeeds. `RUN_SUMMARY` lists the Google requests and what was read.
- Unit tests (`npm test`) with fixtures copied from real Google Images pages.
- The template's output cap is no longer installed: `installOutputPolicy` kept at most 10 rows when `maxItems` was not sent at the top level (and never looked at `targetInput`). The actor's own `maxItems` limit applies.

### 1.0.0

- Added target-aware live extraction.
- Added actor-specific startUrls, endUrls, and query defaults.
- Removed the former reference-site extraction implementation.
