且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用 *** Data API v3 从播放列表中删除视频

更新时间:2023-02-14 13:58:14

PlaylistItemId 对于播放列表是唯一的.因此,两个不同播放列表中的同一视频具有两个不同的播放列表项 ID.

PlaylistItemId is unique for the playlist. So same video in two different playlist has two diferent playlistitemId.

https://developers.google.com/***/v3/docs/playlistItems

您只需要为该函数提供 playlistitemId,而不是 videoId.

All you need to give is playlistitemId to that function, not the videoId.

您可以从 playlistItems->list 函数中找到 playlistitemId,指定播放列表参数.

You can find playlistitemId from playlistItems->list function specifying the playlist parameter.