Created
October 7, 2008 17:22
-
-
Save gilesbowkett/15317 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import gdata.youtube | |
import gdata.youtube.service | |
youtube_service = gdata.youtube.service.YouTubeService() | |
# randomly selected, mostly funny, some just stupid and lame | |
video_ids = ["6d26GGXkzR0", "21OH0wlkfbc", "PbeMwl_PA6A", "aSk0KDAc1gs"] | |
video_ids += ["JfXDAUIc9Xc", "hPPmLZ9dcRA", "frO6AC6wAc0", "0_fPV13lKm4"] | |
video_ids += ["nTasT5h0LEg", "A2syxXPR7xY", "MUaSxZf35O8", "wqXW-OMvpP0"] | |
video_ids += ["puHITWjTc_Q", "bHovtS_QWI4", "ao-9B8IV9_E", "xZlDb6vVsPw"] | |
for id in video_ids: | |
for comment in youtube_service.GetYouTubeVideoCommentFeed(video_id = id).entry: | |
print "..." | |
print comment.content.text | |
print "..." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment