
Untitled
By: a guest on
May 14th, 2012 | syntax:
None | size: 0.53 KB | hits: 13 | expires: Never
is there a way to get the YouTubeVideoEntry from a YouTubePlayListVideoEntry in the python gdata youtube client?
playlist_feed = api.GetYouTubePlaylistFeed('http://gdata.youtube.com/feeds/api/playlists/E6DE6EC9A373AF57')
first_video = playlist_feed.entry[0]
entry_uri = [l.href for l in first_video.link if l.rel == 'related'][0]
video_entry = api.GetYouTubeVideoEntry(entry_uri)
print video_entry.GetSwfUrl()
http://www.youtube.com/v/ADos_xW4_J0?version=3&f=videos&c=myid&d=AZI70qgwnzygE0LbSLCTnAwO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata