Skip to content

Repository files navigation

Dead Reddit User Analyzer

So I noticed several obnoxious reddit accounts that were just created but already had thousands of karma and hundreds of comments — clearly bots, right? chronically online redditors? dead-or-alive internet theory?

But their comments are not bot-like; they make sense and sound natural. Reality is not that simple. I'm bored, so I decided to dig more.

  1. First, I vibe-coded a web scraper to scrape users' posts and comments.
  2. Second, ... profit
  3. Third, in the future I want to generate more interesting graphs about user behaviour, trying to answer:
    1. does the user have a suspiciously regular post schedule?
    2. what's the "posts per minute" speed? and "post size" per minute?
    3. is there a relation between the subreddits the user posts in? (gaming / pictures / etc.)
    4. what other questionable behaviour do chronically online redditors exhibit?

Install

Runs offline - it's just Python bro

python -m venv .venv
.venv\Scripts\activate        # Windows
# source .venv/bin/activate   # macOS / Linux
pip install -r requirements.txt
playwright install chromium

Run

The json goes into index.html and it does magic

# scrape everything for a user -> <username>_full.json
python driver.py spez

# render index.html
python -m http.server 8000 --bind 127.0.0.1

and open http://localhost:8000 and you manually load the json there

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages