# Changelog of Google Search Scraper – SERP, People Also Ask & Rank Tracker (`badr_xba/google-search-scraper`) Actor

- **URL**: https://apify.com/badr_xba/google-search-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/badr_xba/google-search-scraper.md

## Changelog

### 2026-11-09 (review invitation)

- Successful runs that saved at least one result end their status message with one short, optional invitation to leave a Store review or open an issue (never on failed or empty runs); README section "Feedback and reviews". Output and billing unchanged.

### 2026-11-09 (result links)

#### Fixed

- Google's `/goto` result links were mostly left unresolved on the platform (11-08 demo: 6 of 9 approximate), and results Google shows without an address (Reddit, YouTube) were dropped. Links are now opened directly first (3 at a time), with the datacenter proxy only after a network error; when Google answers with a 429 or its "Verifying your request" page, that answer is respected (no retry on another IP, the page is never followed). A result that cannot be resolved is kept with Google's public result link (`urlIsGoogleRedirect: true`) instead of being dropped.

- Google's other results layout (links `/url?opi=…&q=<token>`, address shown as plain text without `<cite>`) gave rows without any URL, which were all dropped: this was the cause of the 2–3-result demos. The displayed address is now read from the link text.

#### Added

- `urlIsGoogleRedirect` output field; `RUN_SUMMARY.linkResolverResponses` (Google's answers per route, for diagnosis).

### 2026-11-08 (visual kit 1.1.0)

#### Added

- Inputs `excludeSites` (`-site:`) and `excludeWords` (`-word`, `-"phrase"`), optional, empty by default (searches unchanged).
- Input `searchLocation`: a canonical place name (`Paris,Ile-de-France,France`) turned into the UULE code; ignored when `locationUule` is set, warned when longer than 63 bytes.
- Visual report on kit 1.1.0: live progress (searches done / total, results so far), data-quality panel, failed pages and input warnings grouped by code, and a final FAILED page when the run crashes.

### 2026-11-08

#### Added

- **Visual report** (`REPORT` record, Output tab → *Visual report*): one card per result (position, title, domain
  badge with initials, displayed URL, snippet with Google's bold words, type, page, approximate-URL mark, rank
  movement of tracked domains, People also ask / related searches of the page); key figures, top domains / result
  types / results per search charts, search, filters, sorting, table view and CSV/JSON export of the filtered rows.
  Rows saved with *One row per result* off are shown as one card per result. Built by the shared
  `src/visual_kit.py` (v1.0.1) with this Actor's `src/report.py`. At most 2,000 rows are kept in memory for it; it
  is never billed and a report error is only logged as a warning (also saved when the proxy check fails the run).
- Output schema: *Visual report* link; key-value store schema: `REPORT` (text/html). Dataset views: number/date/text
  display formats on positions, rank changes and last-seen date.

#### Tests

- `tests/test_report.py`: 13 tests on the 21 real rows of runs JQgZzQXs12qzcPoK6 and lVa1I2yXXt1K1sytc
  (`tests/fixtures/report_run_items.json`): no image / no favicon service, page rows expanded into result cards,
  ads and tracked positions kept, escaping, 5,000 synthetic rows (time, size, cap banner), JSON export = embedded
  data, report errors never raise, failed pages in the header, bounded buffer, and two whole offline runs (one row
  per result / per page) whose `REPORT` holds exactly the results pushed.

### 2026-11-07

#### Fixed

- `{"queries": 5}` (a number instead of a list) crashed the run with a `TypeError` (exit 91). Any single value is now accepted.
- Text values for list inputs were split letter by letter: `"fileTypes": "pdf"` searched `filetype:p OR filetype:d OR filetype:f`, `"wordsInTitle": "easy"` added `intitle:e intitle:a…`, `"trackedDomains": "example.com"` tracked one-letter domains. They are now split on commas / new lines only. Tracked domains given as URLs (`https://www.example.com/path`) are reduced to the domain.
- A results request answered with HTTP 200 but containing Google's "update your browser", consent or unusual-traffic page was taken for "no results" (run succeeded silently with 0 rows). It is now reported in `FAILED_INPUTS` (`notAResultsPage`), not billed, and the run fails with a clear message when no page could be read. No extra retry or workaround is attempted.
- If the Apify datacenter proxy (used only to follow result links) is not available on the account, the run no longer crashes; links are followed directly.
- README: `rankMovement` example said `up`; the real values are `nouveau` / `progression` / `stable` / `recul`.

#### Improved

- Jitter on the retry back-off.
- Logs, status messages and the proxy error message are in English (they were partly in French).
- Dataset schema descriptions in English, integer types for positions/pages, enums for `type` and `device`, and honest notes on fields that are only filled with an option (tracking, one-row-per-page, HTML, website content) or usually empty (`totalResults`).
- Offline test suite (`python -m pytest -q`), excluded from the Docker image.
