# Changelog of Yandex Videos Scraper (`searchapi/yandex-video-scraper`) Actor

- **URL**: https://apify.com/searchapi/yandex-video-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/searchapi/yandex-video-scraper.md

## Changelog

All notable changes to the Yandex Videos Scraper are documented here.

### \[2.0.1] - 2026-06-13

#### Fixed

- **Duration / channel / views / publishedAt / thumbnail** now reliably populated for all results.
- **Thumbnail extraction** updated — Yandex Video uses `<video>` elements with `background-image: url(...)` for previews (no `<img>` tag inside snippet).
- **Title selector** now prefers `.VideoSnippet-Title` over `.a[href]` (the latter was matching thumbnail link wrapper containing duration text).
- **URL extraction** now prefers external platform URLs (YouTube, VK, Rutube) over Yandex preview links.
- **Duration selector** reordered — specific BEM classes (e.g. `VideoThumb3Meta-Duration`) now take priority over generic `*Duration*` to avoid matching wrapper containers.

#### Removed

- `parseVideosFromApi` and the AJAX interception of Yandex's internal `clips` endpoint — the SPA's XHR format is unstable and returns empty `serpItems`/`clips.items` when intercepted outside of user interaction.

### \[2.0.0] - 2026-06-12

#### Added

- **Schema expanded** from 15 to **40 fields**.
- **New fields**: `type`, `resultType`, `titleHtml`, `link`, `embedUrl`, `host`, `favicon`, `channelUrl`, `description`, `durationSeconds`, `viewsRaw`, `date`, `publishedAtRaw`, `relativeTime`, `thumbnailWidth`, `thumbnailHeight`, `width`, `height`, `tags`, `category`, `searchUrl`, `searchMetadata`, `query`, `country`, `region`.
- **New view**: `fullDetails` — all 40 fields.
- **INPUT.json** added at project root for local validation.

### \[1.0.0] - 2025-05-20

#### Added

- Initial production release of the Yandex Videos Scraper.
- `PlaywrightCrawler`-based architecture using Chrome.
- Modular project structure.
- `validate-datasets.js` for local dataset output validation.
- `Dockerfile` using `apify/actor-node-playwright-chrome` image.
- `README.md` with full Apify usage guide.
