This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# modified from https://gist.github.com/rasher/4208507 (python 2) | |
import sys | |
from datetime import datetime | |
from praw import Reddit | |
from collections import defaultdict | |
r = Reddit(user_agent='flairstats/0.1 by <YOUR USERNAME>', | |
client_id='<GET THESE AS DESCRIBED HERE:', client_secret='https://praw.readthedocs.io/en/latest/getting_started/quick_start.html>', |