title: How to get all YouTube comments with Python's gdata module?
body: <p>Looking to grab all the comments from a given video, rather than go one page at a time. </p>
  
  <pre><code>from gdata import youtube as yt
  from gdata.youtube import service as yts
  
  client = yts.YouTubeService()
  client.ClientLogin(username, pwd) #the pwd might need to be application specific fyi
  
  comments = client.GetYouTubeVideoComments(video_id='the_id')
  a_comment = comments.entry[0]
  </code></pre>
  
  <p>The above code with let you grab a single comment, likely the most recent comment, but I'm looking for a way to grab <em>all</em> the comments at once. Is this possible with Python's <code>gdata</code> module?</p>
  
  <hr>
  
  <p>The Youtube API docs for <a href="https://developers.google.com/youtube/2.0/developers_guide_protocol_comments" rel="noreferrer">comments</a>, the comment feed <a href="http://gdata-python-client.googlecode.com/hg/pydocs/gdata.youtube.html#YouTubeVideoCommentFeed" rel="noreferrer">docs</a> and the Python API <a href="https://developers.google.com/youtube/1.0/developers_guide_python#Comments" rel="noreferrer">docs</a></p>