this post was submitted on 10 Sep 2025
30 points (100.0% liked)

Asklemmy

50410 readers
628 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] normalexit@lemmy.world 7 points 4 days ago* (last edited 4 days ago) (1 children)

Using the API "correctly" is likely a requirement for the view to be counted. Their media extractor circumvents that by intentionally not using their API and instead parsing their website for content. Then it establishes a connection to the stream using an internal API.

If you want a view to count you need to use an official client (or at least one with a legit API key). It not counting is a feature with NewPipe.

(Google probably knows the content is being streamed, but if you could just create synthetic views with a third party project, that would be bad for YouTube stats)

[โ€“] rudyharrelson@lemmy.radio 5 points 4 days ago* (last edited 4 days ago) (2 children)

If you want a view to count you need to use an official client

I would think that parsing the website would count the same as any browser-based page load, since parsing the website requires first fetching the page (probably using something like wget or curl under the hood). I dunno if non-logged-in page loads are generally counted toward the overall view count on a given video, though.

[โ€“] dan@upvote.au 6 points 4 days ago (1 children)

Page loads don't count as a view though, because otherwise things like search engine indexing would count as a view. It's only considered a view if the video is watched for at least 30 seconds.

[โ€“] shrugal@lemmy.world 1 points 1 day ago (1 children)

Search engines are easy to detect and filter out though, they have very distinct UA strings.

[โ€“] dan@upvote.au 1 points 1 day ago

That was just an example. There's all sorts of automated traffic that shouldn't count as a view. A human loading the page but not actually playing the video (like if they disable auto playing of videos) shouldn't count as a view either.

[โ€“] normalexit@lemmy.world 1 points 4 days ago

They parse the website for feeds, search, etc. It is a java library and it looks like they are using jsoup to parse the dom.

Using the website and actually establishing a connection to a video are separate things. The search side of things is essentially a headless browser that is just aimlessly looking for videos. As far as YouTube is concerned nothing is played during this process.

When you decide to commit and watch a video, the NewPipe client establishes a connection to the video stream, which doesn't count for YouTube stats.

YouTube counts a view for long-form content when a viewer watches for at least 30 seconds, while Shorts views count each time a short begins to play or replay, with no minimum watchtime. Valid views must come from human users, with limitations on how often the same person can generate views within a short timeframe to prevent fraud from bots or artificial inflation.