For example, this is what my get request to the REST endpoint looks like without URL parameters:
GET reddit.com/r/explainlikeimfive/comments/2w1xzo.json
Which returns the same response as appending .json to the the URL:
https://www.reddit.com/r/explainlikeimfive/comments/2w1xzo/e...
The exception is /r/all, which had infinite pagination, but the low API limits prevent much usability.
My pipeline right now looks like:
list of most popular SFW subreddits of all time -> gnu parallel -> curl on comment listings of top articles within subreddit -> json processing with jq -> gzip -> store on filesystem
So at the end I should have a directory of 5000 subreddits containing a gzipped json file of the comment threads of their top 500 posts.
I'm new to this kind of data processing but this is the easiest way I have found to do a short term, one time scrape of this data.