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.
- First, I vibe-coded a web scraper to scrape users' posts and comments.
- Second, ... profit
- Third, in the future I want to generate more interesting graphs about user behaviour, trying to answer:
- does the user have a suspiciously regular post schedule?
- what's the "posts per minute" speed? and "post size" per minute?
- is there a relation between the subreddits the user posts in? (gaming / pictures / etc.)
- what other questionable behaviour do chronically online redditors exhibit?
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 chromiumThe 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.1and open http://localhost:8000 and you manually load the json there