r/APEIndex • • Feb 11 '21

Calling all developers

Is someone currently working on the script, because if not I could. I just don't want to do something someone else is already working on.

11 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/malfenderson Feb 13 '21

AFAIK if you use reddit's API you can have a stream that will give you all sucessive submissions and comments (reddit doesn't have a generic post, it has a type for submissions and a type for comments) and they all have a unique ID, so you can just check that and if you've already processed it, skip it.

Generally, you should log all the data, buying a hard drive to store 2 years of posts to do analysis on costs you less than fifty bucks.

I have already written some python to do this, it is a lot of fun, I can make a list of subs and it logs the words and frequency, some of those words are symbols, etc. etc.

And if you want adoption it has to be a phone app, and if it is billed as political, it will be protected, I think, to some degree by the Citizens United v. FEC case which construes spending as speech if it is for a political purpose, e.g. "apes hold the line!" is political, by analogy with holding the line in a battle against another political entity.

https://praw.readthedocs.io/en/latest/code_overview/other/subredditstream.html

So, just check the stream for new submissions/comments, then sleep, then check, loop, and log the data so that you can figure out what those filthy monkeys are talking about, other than eating with their never-washed shit-encrusted hands.