This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm trying to look at bans as well as unbans in real time. The SubredditModerationStream API appears to only support one of these actions at once, as well as instances where users were both banned and unbanned. (If only it supported ORing as well as just ANDing!!) Threading the two causes it to be not real-time: when no bans or unbans have occurred in a while and then some occur, it takes forever for the script to "see" them (which is not the case when it's not threaded), and they come in out of order, causing it to miss some, since I store a "most recent action" timestamp in a file - and it has to be a file since this script can terminate at any time (if I lose connection or my laptop goes to sleep).
If anyone knows how to make this work, please help! The code is here. The link expires in one month.
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/redditdev/c...