I run a visa agency in Bali, and in the evenings I build scrapers on Apify. One of them lists the videos of a YouTube channel: YouTube Channel Videos Scraper. You give it handles, it reads the Videos, Shorts or Live tab the way the website does and returns one row per video.

I check it with the same small job every few days: the latest 50 videos of @veritasium and @mkbhd. Same input, same tab, nothing clever. Between 14 and 22 November that job ran ten times, and I kept the datasets. When I put them side by side I expected the view counts to move. I didn't expect the titles to.

The job

{ "channels": ["veritasium", "mkbhd"], "tab": "videos", "maxVideosPerChannel": 50 } 

Every one of the ten runs returned 100 rows, 50 per channel. Across all ten there were 102 distinct videoIds: 51 per channel, because each channel published one new video during the window and the oldest one slid off the end.

From code, it's a single request that waits for the run and gives back the rows:

curl -s -X POST \ "https://api.apify.com/v2/acts/lergassy~youtube-channel-videos-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"channels":["veritasium","mkbhd"],"tab":"videos","maxVideosPerChannel":50}' 

A row looks like this (trimmed):

{ "type": "video", "channelName": "Veritasium", "position": 1, "videoId": "uXuQF_PPg5U", "title": "The Simplest Math Problem No Computer Can Solve", "views": 3300000, "viewsText": "3.3M", "publishedText": "3d ago", "duration": "38:48" } 

The count

I grouped every row by videoId and checked whether the title was the same in every read.

  • Marques Brownlee: 51 videos, 0 with more than one title.
  • Veritasium: 51 videos, 6 with more than one title, and 16 switches between consecutive reads.

Those six were not all fresh uploads. In the last read they sat at positions 1, 2, 3, 18, 30 and 50 on the tab. Position 50 is roughly the oldest video the job could see at all.

One video, five titles

uXuQF_PPg5U first showed up on 19 November, when the tab said it was 9 hours old. These are its titles in order, one per read:

19 Nov 06:08 The World Depends on Random Numbers That Aren't Really Random 19 Nov 06:11 The World Depends on Random Numbers That Aren't Really Random 19 Nov 14:56 Most people don't understand randomness. 20 Nov 22:24 Randomness is a lie. Let me explain 20 Nov 22:32 The Simplest Math Problem No Computer Can Solve 21 Nov 20:07 The Simplest Math Problem No Computer Can Solve 22 Nov 15:39 This Simple Task Is Impossible for Computers 22 Nov 15:41 This Simple Task Is Impossible for Computers 22 Nov 20:17 The Simplest Math Problem No Computer Can Solve 

Five titles in nine reads over three and a half days. Note the last line: the "Simplest Math Problem" title came back after a different one had been showing.

Reads three minutes apart disagreed

On 19 November two runs went out at 06:08 and 06:11. Same input, same code. Two of the older videos came back with different titles:

jjp3WC8Unj8 06:08 The Opposite of Matter 06:11 The Closest Thing We Have To Alien Matter qJZ1Ez28C-A 06:08 Proving That Everything is Everywhere All at Once 06:11 The Strangest Implication of Quantum Mechanics 

qJZ1Ez28C-A kept doing this. Across the ten reads it went A, A, B, B, A, A, B, B, B, B: two titles taking turns, four switches.

Here is my reading, and I want to be clear that it is a reading, not something I can see from outside: this looks like a title test, where different visitors are shown different titles and the channel keeps whichever gets clicked more. Whether it's YouTube's own testing tool or someone on the team editing by hand, the data doesn't say. What the data does say is that "the title of this video" is not one value at a given moment. It depends on which variant your request was served.

The other three changes look more like a decision than a test, because the new title stuck:

KfODG5REyss "...quantum mechanics with my own eyes..." → "...quantum physics with my own eyes..." Y-W-w8yNiKU "Why is there antimatter?" → "Why does antimatter exist?" eyZEqSPeMwg "No device could prove Einstein wrong... until now" → "Relativity is so much weirder than we thought..." → "General Relativity Is Actually About Time, Not Space" (one read) → "Relativity is so much weirder than we thought..." 

eyZEqSPeMwg was already three weeks old when it was renamed. Titles of old videos aren't frozen either.

What this breaks

Joins on title. If you track a competitor's catalogue in a spreadsheet and match yesterday's rows to today's by title, 6 of 51 Veritasium videos would have dropped out and come back as "new" in this window. Key on videoId.

Deduplication. Same thing in reverse: two rows with different titles can be the same video. If you dedupe by (channel, title) you'll double-count.

"What topics work" analysis. People pull a channel's videos, sort by views and read the top titles as the formula. But the views on uXuQF_PPg5U were earned under five different titles. The title you see next to "3.3M" is just the one that was being served when you looked.

One read is one sample. For a channel that tests titles, a single scrape tells you which variant one request got. If titles matter to your analysis, read more than once and keep the history.

Here's the small script I used to find the changes. It takes a folder of dataset JSON files, one per run, named so they sort by time:

import json, glob, collections history = collections.defaultdict(list) for path in sorted(glob.glob("runs/*.json")): for row in json.load(open(path)): if row.get("type") != "video": continue history[row["videoId"]].append((path, row["title"], row.get("views"))) for vid, reads in history.items(): titles = [t for _, t, _ in reads] if len(set(titles)) > 1: switches = sum(1 for a, b in zip(titles, titles[1:]) if a != b) print(vid, f"{len(set(titles))} titles, {switches} switches") for path, title, views in reads: print(" ", path, views, title) 

A bug I found while counting

While lining up the view counts I noticed something that had nothing to do with titles and everything to do with my own code. On 19 November the newest Veritasium video came back like this:

viewsText: "600K" views: 600 viewsText: "886K" views: 886 

The parser takes the number from the accessibility label, which reads 600 thousand views, and looks for a K, M or B right after the digits:

const m = String(text).replace(/,/g, '').match(/([0-9]+(?:\.[0-9]+)?)\s*([KMB])?/i); 

The match is case-insensitive, so 2.4 million views works by accident: the m of "million" is read as the M suffix. Same for "billion". But "thousand" starts with a t, so 600 thousand becomes 600. Every video between a thousand and a million views gets a number a thousand times too small, and the Minimum views filter gets fooled by it too.

On these two channels it showed up in exactly 3 of 1,000 rows, because almost everything they publish is past a million within a day. On a small channel it would be most of the rows. The same parser sits in the other YouTube actors I maintain, so the fix is queued for all of them, not just this one. Until the new build is live, if you work with channels under a million views per video, compare views with viewsText before you trust it.

Lesson for me: two channels with millions of views each were a bad choice of health check, because they never exercise the "thousand" path. A check should include one small channel.

What the tab gives and doesn't give

The channel tab shows rounded numbers ("3.3M"), a relative date ("3d ago") and no likes or comments. If you need exact views, likes, comment count, the real publish date and the description, there's an option that opens every video's page for those. It costs $0.0005 per video on top of the base $0.00045 per video, and it's slower, because it's one extra request per video instead of one page per few dozen videos.

What no scraper of the public page can give you: the results of a title test, impressions, click-through rate, watch time. Those live in YouTube Analytics, and only the channel owner sees them. From outside, all you get is which title your request was served at the moment you asked.

When not to use this

  • You need the winning title of a test. Scraping shows you variants, not results.
  • You need real-time counts. Tab numbers are rounded and cached; even with exact numbers on, a read is a snapshot.
  • You own the channel. The YouTube Data API and YouTube Analytics give you your own data properly, including the numbers above.
  • You need comments. This lists videos; comments are a different job.

If what you need is "every video this channel has, with views and a stable ID, without an API key or a daily quota", that's what it's for. Just don't treat the title as an ID.