Comment by duckvimes_ on 23/07/2014 at 00:56 UTC*

433 upvotes, 10 direct replies (showing 10)

View submission: [Updated] Who runs /r/Holocaust? Each line represents a moderator overlap. [OC]

View parent comment

Should be easy enough to do; I just need an easy way of getting the modlists. (I know it's possible; I just don't have the programming know-how).

--------------------------------------------------------------------------------

1: http://www.reddit.com/r/dataisbeautiful/comments/2bfqzc/updated_who_runs_rholocaust_each_line_represents/cj4vw25

Edit 2: **Woohoo, banned from /r/Holocaust!**

Replies

Comment by Splendor78 at 23/07/2014 at 01:14 UTC*

217 upvotes, 4 direct replies

I can help you with that. Here's how you would go about it.

1.

Use the api like so: http://api.reddit.com/r/worldnews/about/moderators

2.

Convert the JSON result set to human readable name list with a tool like this https://json-csv.com/

3. Save the CSV file and extract the data in the name column.

If that's helpful but you need to do this on a large scale, send me a PM and I'd be happy to help write something.

EDIT: I looked on GitHub and found this project: https://github.com/dlew/reddit-mods

Comment by mrnitrate at 23/07/2014 at 01:14 UTC*

34 upvotes, 1 direct replies

http://www.reddit.com/dev/api#GET_about_%7Bwhere%7D

just goto, www.reddit.com/r/[subreddit]/about/moderators to get a list of mods for a sub. You could also do /about/banned or /about/contributors for some more good info.

example: http://www.reddit.com/r/dataisbeautiful/about/moderators

Comment by MellerTime at 23/07/2014 at 01:09 UTC

15 upvotes, 1 direct replies

Exactly what do you need? I'd be happy to try and get the data for you.

Comment by rx7raven at 23/07/2014 at 13:24 UTC

2 upvotes, 0 direct replies

For any raw data type pull or plain text acquisition I'd just right a python script with PRAW: The Python Reddit Api Wrapper

Comment by rgoliveira at 23/07/2014 at 16:14 UTC

2 upvotes, 0 direct replies

Ok, so here is my contribution: http://jsfiddle.net/K7HfL/embedded/result/

Just choose what list you want (moderators, contributors, banned), type in the subreddit name and click the button (or hit enter).

Would be nice if someone added the visualization part.

Comment by martialalex at 23/07/2014 at 02:57 UTC

3 upvotes, 4 direct replies

It's within the same html tags, right? Couldn't you just build a scraper for it?

Comment by DorianGainsboro at 23/07/2014 at 16:36 UTC

1 upvotes, 0 direct replies

When the new default subs were added, I made a list of all the mods in each sub, you might want to use that.

http://www.reddit.com/r/self/comments/254cjz/list_of_all_the_default_mods/

Comment by gehanna at 23/07/2014 at 18:58 UTC

1 upvotes, 1 direct replies

If you're familiar with R, this is pretty straightforward:

	sub <- "dataisbeautiful"

	# Cludge the data together with grep
	library(RCurl)
	moddata <- getURL(paste("http://api.reddit.com/r/",sub,"/about/moderators",sep=""))
	modlist <- gsub('(.*)\\", \"id.*',"\\1",strsplit(moddata,'name\": \"')[[1]][-1])
	sublist <- lapply(as.list(paste("http://www.reddit.com/user/",modlist,sep="")),getURL)
	getsubs <- function(txt) {
		txt <- gsub('.*<ul id="side-mod-list"(.*?)</ul>.*',"\\1",txt)
		txt <- gsub("(.*?)/.*","\\1",strsplit(txt,"a href=\"/r/")[[1]][-1])
		txt
	}
	sublist <- lapply(sublist,getsubs)

	# Summarise
	sumsubs <- table(unlist(sublist,F,F))
	sumsubs <- sumsubs[sumsubs>1 & names(sumsubs)!=sub]

For 'dataisbeautiful' we get:

 askscience         2
 classicalmusic     2
 gamedesign         2
 photographs        2
 photography        2
 science            2

Comment by Mr5306 at 23/07/2014 at 21:50 UTC

1 upvotes, 0 direct replies

You should also do it for /r/Racism, that surfers from the same bias problem. You will get instantly ban if you suggest that hate and prejudice exists against whites or post articles depicting the Zimbabwe situation. Really sad

Comment by FlowStrong at 23/07/2014 at 13:52 UTC

-7 upvotes, 0 direct replies

No worries. There are some stupid fucking subreddits. I got banned from twoxchromosomes.... like those bitches are proud of having a jacked up genotype.