this post was submitted on 03 Sep 2024
1 points (100.0% liked)

The UFO reddit

132 readers
1 users here now

A community for discussion related to Unidentified Flying Objects. Share your sightings, experiences, news, and investigations. We aim to elevate...

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/ufos by /u/SysBadmin on 2024-09-03 18:10:14+00:00.


Hey everyone,

I've put together a Python script that monitors comment upvotes and downvotes on any subreddit. Here's a quick overview of what it does:

  • Snapshot & Monitor: Takes snapshots of comments on the top 5 rising posts and 2 hot posts (configurable).
  • Interval: Updates every 60 seconds (configurable).
  • Alerts: Prints comments with changes of +/- 5 votes for review.

Here’s a snapshot of what the output looks like with a 30-second interval:

2024-09-03 13:42:58 | Active users: 810 | New comment upvotes: -1

2024-09-03 13:43:37 | Active users: 810 | New comment upvotes: -10

2024-09-03 13:48:07 | Active users: 810 | New comment upvotes: -3

The script logs detailed changes per comment. For example:

2024-09-03 13:46:10 | Active users: 810 | New comment upvotes: 30

Comment ID: llby8rz | Initial: 1, New: 1, Diff: 0

Comment ID: llc35if | Initial: 7, New: 7, Diff: 0

...

Comment ID: llaokgb | Initial: 3, New: 5, Diff: 2

Limitations

The script only grabs changes; the amount a comment is upvoted/downvoted isn't available publicly via the API. You can find the script here on github.

Feel free to check it out and let me know your thoughts or any improvements you might suggest!

Last thing, I am storing the data on my home Tableu instance. With the mods approval I'd like to make a monthly post sharing the most egregious instances of bots.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here