# Changelog of YouTube Comments & Video Scraper (`dataji/youtube-comments-scraper`) Actor

- **URL**: https://apify.com/dataji/youtube-comments-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/dataji/youtube-comments-scraper.md

## Changelog

### 0.3 (2026-11-18)

New inputs and columns, from the 18 Nov research on what buyers of YouTube comment scrapers ask for. No new
request types, no price change, every v0.2 input and output key kept, and all new columns are free and come from
answers the actor already reads. Defaults give the v0.2 rows, plus the new columns.

- **Playlists**: `https://www.youtube.com/playlist?list=...` links (before: a free `invalidInput` row). New input
  `maxVideosPerPlaylist` (default 50). Mix playlists (`RD...`), Watch later and Liked videos get a clear
  `invalidInput` reason. A watch link with `&list=` is still one video. An unknown or private playlist is a free
  `notFound` row. Playlist videos have `isShort: null` (the list doesn't say).
- **Channel tabs**: new input `channelTabs` (`videos`, `shorts`, `streams`; default `videos`).
  `maxVideosPerChannel` applies to each tab. A tab the channel doesn't have is skipped.
- **`hasCreatorReply`** on top-level comment rows: the channel replied in the thread (`null` on replies). It finds
  unanswered questions without reading the replies.
- **`links`** and **`videoTimestamps`** on comment rows: links in the text (unwrapped from YouTube's redirect)
  and the video times it mentions, in seconds.
- **`chapters`** on video rows: `[{title, startSeconds}]`.
- Test fixtures: 8 new scrubbed captures. The scrub also replaces the channel's avatar and name on "creator
  replied" markers, and drops listing entries that name a non-brand channel.
- **Coverage on the video row**: `commentsDelivered`, `repliesDelivered`, `commentsSkippedByFilters`,
  `coveragePct` (comments read against YouTube's exact count) and `stopReason` (`maxReached`, `endOfComments`,
  `dateCutoff`, `topSortExhausted` (Top order ended before its comments plus the replies they show reached the
  count), `commentsDisabled`, `blocked`, `spendingLimit`). To carry them, **the video row
  now comes after its comments** (before: first); its room in the spending limit is reserved first, so it is still
  delivered when a run stops at the limit. The final status adds the run's coverage, for example
  `8 videos: 4,210 of 5,030 shown comments (84%); 2 hit Max comments`.
- **`repliesDelivered` on top-level comment rows** (`0` with replies off, `null` on replies). A comment is now
  pushed together with its replies, so each reply comes right after its parent (before: a page of comments, then
  the replies).
- **Comment filters**, checked before charging (filtered comments are free and counted): `commentKeywords` (any
  of, case-insensitive), `excludeKeywords`, `minLikes`, `commentLanguages`, `oneCommentPerAuthor` (per video,
  restart-safe). They apply to replies too; replies are read only under comments that pass. Filtered comments count
  toward `maxCommentsPerVideo` (the number of comments read) in both orders. All off by default.
- **`commentLanguage`** on comment rows, from py3langid (offline, pinned with numpy). Unknown codes in
  `commentLanguages` fail the run at start.
- **Honest dates**: `publishedAtPrecision` (`minute`, `hour`, `day`, `week`, `month`, `year`) and `firstSeenAt`
  (when the actor delivered the comment; with `onlyNewComments`, the first run that saw it).
- **Flat author columns**: `authorChannelId`, `authorHandle`, `authorName` (the nested `author` stays).
- **Input**: tracking parameters (`si`, `feature`, `pp`, `t`, `ab_channel`, `utm_*`, ...) are dropped; more link
  shapes (`youtu.be/<id>&t=..`, `watch?v=<id>?si=..`, `m.youtube.com/#/watch`, `/watch/<id>`, `attribution_link`,
  trailing punctuation, a link inside a sentence); plain-text lines in an uploaded link list are searched (logged) instead of
  being an `invalidInput` row (Apify's link field itself only accepts links); `/embed/videoseries?list=` is read as the playlist. An empty input fails at start
  with a one-line example.
- Spending limit: a worker that waits for room no longer waits on workers that are themselves waiting (each now
  holds its video row's room while reading comments).
- Input form regrouped (What to scrape, Comments, Filters, Videos and monitoring, Advanced); new dataset view
  columns. Store README: limits up front (no exact dates, no dislikes, no transcripts), filters, a monitoring
  recipe (schedule + onlyNewComments + webhook), coverage FAQ.

### 0.2 (2026-11-18)

Public release on the Apify Store.

- New input `commentsNewerThan` ("Only comments newer than"): a date (`2026-11-01`) or a period (`7 days`,
  `2 weeks`, `3 months`). Older comments and replies are skipped and not charged. With Newest order a video stops
  after 20 older comments in a row; with Top order older comments are skipped but count toward
  `maxCommentsPerVideo`. A period is resolved once from the run's start and kept across migrations. An unusable
  value fails the run at start with a clear message.
- Final prices (per 1,000, Free / Bronze / Silver / Gold): `comment` $0.50 / $0.45 / $0.40 / $0.30, `video`
  $1.00 / $0.85 / $0.70 / $0.50.
- Store README: pricing table and cost examples, why a video can give fewer comments than its comment count,
  the "video stats only" use (`maxCommentsPerVideo: 0`), residential proxy cost covered by the price. Shorter
  Store card description.

### 0.1 (2026-11-18)

First version.

- Comments and replies from public videos (Top or Newest order), with pinned, hearted, edited and channel-owner
  flags, likes, reply counts and an approximate date.
- Video rows: title, description, exact views, likes and comment count, publish date, hashtags, live-now flag,
  thumbnail, channel name, handle, verified badge and subscribers.
- Inputs: video links and ids, channel links and @handles (newest videos of the Videos tab), search queries and
  search links, uploaded link lists.
- Only new comments: skips comments delivered in earlier runs (`youtube-comments-seen` store).
- Pay per event (`video`, `comment`); free error rows (`invalidInput`, `notFound`, `commentsDisabled`,
  `ageRestricted`, `blocked`, `failed`); clean stop at the spending limit; migration-safe progress.
