Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import praw
- reddit = praw.Reddit('______')
- bot = praw.Reddit(client_id = '______', client_secret = '______', username = 'Bot', password = '______', user_agent = 'Bot 1.0')
- subreddit = bot.subreddit('_______')
- submission = reddit.submission(id='6ejuod')
- submission.comment_sort = 'new'
- comments = subreddit.stream.comments()
- all_comments = submission.comments.list()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement