A very simple Python script that counts the popularity of flairs in a subreddit. Collects (by default) the flairs of the poster and commentators on the first 400 posts sorted by hot in a subreddit.
- Edit
config.json
. Seemylittlepony.config.json
for example. The only two settings that must be changed aresubreddit
anduserAgent
. - Run
python popularity.py config.json
. The script too around 21 minutes to run locally. Your time will depend on how heavily reddit's server are utilized at the moment. By default the script will pause for 2 hours after that before running again - it is designed to be run on a server as a long running script.