File size: 248 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=1000, max_fails=1000, time_filter='month')