Skip to content

Instantly share code, notes, and snippets.

@tg12

tg12/reddit_wsb.py

Created Jan 28, 2021
Embed
What would you like to do?
Comment streamer for WSB r/wallstreetbets/
import praw
from fake_useragent import UserAgent
import random
ua = UserAgent()
reddit = praw.Reddit(client_id='',
client_secret='',
password='',
user_agent=str(ua.random),
username='')
subreddit = reddit.subreddit("wallstreetbets")
for comment in subreddit.stream.comments(skip_existing=True):
print(comment.body)
print ("##############################")
print ("##############################")
print ("##############################")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment