以后如何通过 python gdata 库从 youtube watch 中删除视频?我检查 API:https ://developers.google.com/youtube/2.0/developers_guide_protocol?hl=en#Retrieving_watch_later_playlist ,并尝试其方法: 从播放列表中删除视频: https ://gdata.youtube.com/feeds/ api/users/default/watch_later/VIDEO_ID。
通过 python gdata 库
playlist_uri = u"https://gdata.youtube.com/feeds/api/users/default/watch_later"
playlist_entry_id = videoID .............(Does watch later have playlist_entry_id??)
response = yt_service.DeletePlaylistVideoEntry(playlist_uri,
playlist_entry_id)
=>Error: Bad request
或者
playlist_uri = u"https://gdata.youtube.com/feeds/api/users/default/watch_later/%s" % videoID
response = yt_service.Delete("playlist_uri)
=>Error: Bad request
两个都失败了!
有没有其他方法可以得到它?非常感谢。