def authorize(self):
"""
Connect with api and build youtube service
"""
print 'Authorizing...'
if self.youtube:
print 'Already authorized'
return False
self.youtube = build(self.YOUTUBE_API_SERVICE_NAME,
self.YOUTUBE_API_VERSION,
developerKey=self.DEVELOPER_KEY)
#
#
# returns boolean
# True if skip video (not a candidate)
#
评论列表
文章目录