python gdataライブラリを使用して、後でYouTubeウォッチからビデオを削除するにはどうすればよいですか? API を確認します: https://developers.google.com/youtube/2.0/developers_guide_protocol?hl=en#Retrifying_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
どちらも失敗!
他に入手する方法はありますか?どうもありがとう。