File size: 229 Bytes
b01d6d3
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import praw
from reddit_scraper import download_subreddit_posts
import accounts


reddit = accounts.get_agent()
subreddit = reddit.subreddit("haiku")
download_subreddit_posts(subreddit, mode='top', limit=20000, max_fails=20000)