Skip to content Skip to sidebar Skip to footer

Python Youtube Gdata Api Broken After Small Change

I changed how my script was getting it's list and somehow I broke the Gdata-API sys.argv[1] is a text file of urls like this The error starts when I comment out Part 1 & 2 and

Solution 1:

I assigned urls to be:

urls = ['http://www.youtube.com/watch?v=_wmD3M-BfVo']

(Yeah, it's T-Pain music video) And it worked just fine. You most likely have a problem with the file you're opening or the parsing of the contents of that file. Or you just plain aren't parsing it right. In any event, you're getting comments assigned to none because you're not passing valid ids in.

Post a Comment for "Python Youtube Gdata Api Broken After Small Change"