Categories
Uncategorized

Checking out a Sub-Reddit’s Front Page – Python

This code uses Reddit’s own API, praw, to download all the post titles, karma counts, position, and reddit id of each post within a sub reddit. This example collects all the info from the top 100 posts in r/technology at on hour intervals and then saves it to a file.