Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import praw
- from praw.models import MoreComments
- reddit = praw.Reddit(user_agent='Comment Extraction (by /u/”username”)',client_id="XXXXXX", client_secret="XXX",username='iaXXX', password='AXXX')
- submission = reddit.submission(url='https://www.reddit.com/r/ethtrader/comments/7pdp3g/daily_general_discussion_january_10_2018/?limit=500')
- for top_level_comment in submission.comments:
- print(top_level_comment.body)
Add Comment
Please, Sign In to add comment