title: How to get all comments (more than 100) of a video using YouTube Data API V3?
body: <p>I am currently working on a project and I need to collect all the comments of few specific youtube videos.<br>
  I am able to get at max 100 comments using commentThreads().list function (<a href="https://developers.google.com/youtube/v3/docs/commentThreads/list#parameters" rel="nofollow">More here</a>). Is there any way to get all the comments ? </p>
  
  <p>I am using below function which is provided by Google YouTube Data API developer guide.</p>
  
  <pre><code>def get_comment_threads(youtube, video_id):
    results = youtube.commentThreads().list(
      part="snippet",
      maxResults=100,
      videoId=video_id,
      textFormat="plainText"
    ).execute()
  
    for item in results["items"]:
      comment = item["snippet"]["topLevelComment"]
      author = comment["snippet"]["authorDisplayName"]
      text = comment["snippet"]["textDisplay"]
      print "Comment by %s: %s" % (author, text)
  
    return results["items"]
  </code></pre>