Using PRAW in Python to Pull Historical subreddits

Hi, I am wondering if anyone has any experience using the Python PRAW package to gather data on historical posts on a subreddit? I have tried the code below, but that prints a "prawcore.exceptions.ServerError: received 503 HTTP response" error.

4 comments · 60% upvoted · other discussions

comments

bcryptom [OP]
topics_dict = {'title':[],'score':[],'id':[],'comms_num': 
[],'created':[],'body':[]}
for submission in 
reddit.subreddit('btc').submissions(1527000000,1528000000):
    topics_dict['title'].append(submission.title)
Assailant_TLD

As a below commentor noted it’s basically impossible now due to Reddit changing how their API searches for things.

If you really want to try check out r/pushshift .

[deleted]
bcryptom [OP]

Wow...that's really doing a disservice for users!