These are chat archives for praw-dev/praw

Sep 2017
Sep 14 2017 06:13
Hi all, newbie to PRAW/Python - couple of questions - 1) how do I get more than 100 subreddits returned from the"searchkeyword") call? 2) and for a particular subreddit how can I get the number of new posts and comments in a particular day/timeframe?
Bryce Boe
Sep 14 2017 16:43
In [6]: len(list('test', limit=1000)))
Out[6]: 498
The latter is not really possible.
You can use reddit.subreddit('...').submissions(start=timestamp, end=timestamp) to count the submissions between two times.
Cannot do the same for comments, however.
the submissions method is not 100% accurate but pretty close.