In praw, I can create either a subreddit.stream.comments()
or subreddit.stream.submissions()
.
For those unfamiliar, the two above praw functions return comments/posts as they come in.
Is there a way to combine the two? I've tried using Python's built-in function zip
as well as itertools
's zip_longest
but they both only give a result as fast as the posts come in. (Comments are much more frequent).