RedditorStream

class praw.models.reddit.redditor.RedditorStream(redditor: praw.models.reddit.redditor.Redditor)

Provides submission and comment streams.

__init__(redditor: praw.models.reddit.redditor.Redditor)

Create a RedditorStream instance.

Parameters:redditor – The redditor associated with the streams.
comments(**stream_options) → Generator[[Comment, None], None]

Yield new comments as they become available.

Comments are yielded oldest first. Up to 100 historical comments will initially be returned.

Keyword arguments are passed to stream_generator().

For example, to retrieve all new comments made by redditor spez, try:

for comment in reddit.redditor('spez').stream.comments():
    print(comment)
submissions(**stream_options) → Generator[[Submission, None], None]

Yield new submissions as they become available.

Submissions are yielded oldest first. Up to 100 historical submissions will initially be returned.

Keyword arguments are passed to stream_generator().

For example to retrieve all new submissions made by redditor spez, try:

for submission in reddit.redditor('spez').stream.submissions():
    print(submission)