Skip to content
Simple python script to analyze reddit accounts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
IBM_Watson.py
LICENSE
README.md
analyzer.py
requirements.txt
watson_requirements.txt

README.md

Reddit Account Analyzer

A tool to analyze a reddit account based on their submissions and comments. The tool prints back the following information:

  • Karma Scores
  • Account creation date and age
  • Average activity by hour and by day of the week
  • Top active subreddits by comments and by submissions
  • Top domains posted/sites linked to
  • Top people replied to
  • Average Score on Comments and Submissions
  • Links to comments/submissions in a specified subreddit

Please feel free to contribute, raise issues or request features!

Installation

Written in Python 3.6.

git clone https://github.com/rafficer/reddit-analyzer or download as zip.

Install the requirements:

  • ascii_graph
  • numpy
  • colorama
  • requests

pip install -r requirements.txt or pip3 install -r requirements.txt

If you want to use IBM Watson Personality Insights (-w option) also do:

pip install -r watson_requirements.txt or pip3 install -r watson_requirements.txt

Usage

usage: analyzer.py -u <username> [options]

Reddit Account Analyzer (https://github.com/rafficer/reddit-analyzer) Version
1.1.0

optional arguments:
  -h, --help            show this help message and exit
  -u USER, --user USER  Reddit account username
  -t TOP, --top TOP     Specifies how many entries per top list. "0" outputs
                        all entries of a toplist. Default: 5
  -w, --watson          Queries IBM Watson Personality Insights
  -r SUBREDDIT, --subreddit SUBREDDIT
                        Prints links to all submissions/comments of user to
                        that specific subreddit

Example

x

Idea and 2 functions from https://github.com/x0rz/tweets_analyzer

You can’t perform that action at this time.