英文:
How can i add a video to youtube history?
问题
我尝试将YouTube视频添加到我的YouTube历史记录,但我的所有方法都不起作用。对于这个问题,互联网上没有答案或信息,所以我只是想要一些信息或可能的解决方法。
我已经尝试过YouTube的播放统计和观看时间统计,但什么都没有发生。没有添加或更改任何内容。
我还尝试过这两种方法,但什么都没有发生。没有添加或更改任何内容。
英文:
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.
答案1
得分: 0
我从未使用过YouTube API,但从逻辑上来说,我认为这应该是不可能的。
一般来说,任何形式的历史记录都不应该被外部系统篡改。
我怀疑YouTube API是否会提供一个允许你修改这个历史记录的端点。
大多数Google API都是只读的。
你可能可以尝试使用HTTP GET请求直接请求视频,就像你试图在浏览器中播放视频一样,但如果出现验证码,可能无法正常工作。
英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论