Workaround for retrieving user's Youtube watch

2019-03-01 15:18发布

I wrote a handy script to manage one of my Playlists by removing any watched videos from the list. Unfortunately with the revision to the API on September 15, 2016, the user's watch history is no longer available via the API (https://developers.google.com/youtube/v3/revision_history)

Is there another way I can achieve this Playlist-cleaning functionality?

For example, if I can't get a user's entire watch history (which is overkill for my use case anyway) maybe there's a way to query whether a specific single video has been watched (or maybe even get the watched percentage or watched minutes for a video, like the red bar under the video thumbnail shows)

1条回答
Animai°情兽
2楼-- · 2019-03-01 16:02

I think there is still one workground. You can read the HTML content of https://www.youtube.com/feed/history But I don't think this way is a good way.

查看更多
登录 后发表回答