These are chat archives for praw-dev/praw

14th
Feb 2017
codsane
@codsane
Feb 14 2017 00:04
Anyone know of any other way to get the number of subscribers for a large amount of subreddits other than using PRAW to go through every subreddit? Anyone have a database somewhere :)
Ryan Chiarelly
@rchiarelly
Feb 14 2017 00:17
Hey Guys I am a bit lost in PRAW 4, trying to find out what happened to the comment stream (old code: for c in praw.helpers.comment_stream(r, subreddit, 25):) I can't seem to find anything that will watch a subreddit for all new comments
Ryan Chiarelly
@rchiarelly
Feb 14 2017 00:22
Apologies I found it with a bit more digging: for c in r.subreddit(monitoredReddits).stream.comments():
Daniel
@teaearlgraycold
Feb 14 2017 03:48

Actually scrap that question.

But is there a way to specify that wiki pages are for moderators only?

Bryce Boe
@bboe
Feb 14 2017 07:04
@teaearlgraycold there is no PRAW cache in 4.
Good work @rchiarelly!
I believe it should be subreddit.wiki['nameofpage'].mod.update(permlevel=2)
I didn't that that, but if that's not it, it's pretty close to that.
Daniel
@teaearlgraycold
Feb 14 2017 15:00
@bboe, doesn't that break the API rules? Or did reddit drop that requirement
Bryce Boe
@bboe
Feb 14 2017 15:46
@teaearlgraycold they dropped it
Daniel
@teaearlgraycold
Feb 14 2017 18:23
Neat
Thanks