I'm trying to scrape all comments from a subreddit. I've found a library called PRAW. It gives an example
import praw
r = praw.Reddit('Comment parser example by u/_Daimon_')
subreddit = r.get_subreddit("python")
comments = subreddit.get_comments()
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 next
button, so it should be possible to go back in history page by page.