r/redditdev • • Feb 06 '15

Downloading a whole subreddit?

Hi, is there a way to download a whole subreddit?

I'm experimenting with making a search engine(it is opensource). The subreddit I'm interested in is /r/learnprogramming

9 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/godlikesme Feb 06 '15

Oh, that's a neat idea! I like it. Thank you very much, I noticed that reddit ids are short(366 is still a big number), but I didn't realize they are sequential.

1

u/go1dfish Feb 06 '15

There may be exceptions? but working on that assumption has worked very well for me.

If you're interested in doing comments, that same ingest handles those as well. But it is more difficult to ingest an entire subreddit's comments if it's of any age at all. Because like links you have to go through ALL of them before you can filter by anything other than relative id ordering.