Search code examples
youtubeyoutube-apiyoutube-data-api

How can i add a video to youtube history?


I tried to add a YouTube video to my YouTube history, but none of my methods worked. There is no answer or information on the internet for this question, so I just want some information or maybe the solution to this problem.

I already tried YouTube playback statistics and YouTube watch time statistics, but nothing happened. Nothing was added or changed.

I also tried both of them, but nothing happened. Nothing was added or changed.


Solution

  • I never used Youtube API, but logically I think this souldn't be possible.

    Generally speaking, any kind of history should not be tempered with it by an external system.

    I doubt the Youtube API would expose an endpoint that let's you alter this history.

    Most Google APIs are read only.

    One thing you could maybe do is try to request the video directly with an http GET request as if you were trying to play the video in a browser, but it might not work if there's a captcha that shows up.