title: How to scrape all comments from a subreddit on Reddit?
body: <p>I'm trying to scrape all comments from a subreddit. I've found a library called PRAW. It gives an example</p>
  
  <pre><code>import praw
  r = praw.Reddit('Comment parser example by u/_Daimon_')
  subreddit = r.get_subreddit("python")
  comments = subreddit.get_comments()
  </code></pre>
  
  <p>However, this returns only the most recent 25 comments. How can I parse all comments in the subreddit? On the Reddit interface, there's a <code>next</code> button, so it should be possible to go back in history page by page.</p>