Peter Swanson

Software Engineer

Full Stack Web Developer


Collecting Information from Reddit


The code below collects basic information from Reddit.com subreddits as well as top users, their posts and their comments. The subreddits the bot collects information about can be customized via the input/subreddits.xlsx file.


The output is generated is broken into three different spreadsheets:


output/subreddit_results.xlsx - Breakdown of information collected from each subreddit.

output/user_results.xlsx - Top posters per subreddit and most-used nouns per poster.

output/comment_results.xlsx - Most-used nouns per subreddit.



Bot.py