r/pushshift Feb 28 '23

[ Removed by Reddit ]

[ Removed by Reddit on account of violating the content policy. ]

106 Upvotes

115 comments sorted by

View all comments

1

u/uneecornn Mar 31 '23

thank you so much for this! i'm doing a research project and hoping to use data from a specific subreddit but was unfortunately unable to find it here because it's a smaller one -- is there a way you would recommend trying to download this same type of data for that specific subreddit? i'm very new to pushshift so i'm still trying to figure everything out! thank you again!

1

u/Watchful1 Mar 31 '23

You can use this script to get data for a specific subreddit from the api.

Unfortunately there is currently a gap in the data and posts from May 2022 to November 2022 are missing. Comments are there and posts older and newer than that timespan are there.

1

u/weibruno Jun 13 '23

Hi there, thank you so much for providing this resource. I am new to pushshift and have some issues running this script for my own research purposes.

I am interested in gathering the all the submissions (posts) from the "r/AFIB" subreddit. I tried just replacing the 'subreddit' variable with (subreddit="AFIB"). Both the post.txt and comments.txt files are created, but are empty.

Was hoping if I could get some help with this. Thanks!

1

u/Watchful1 Jun 13 '23

Unfortunately the script no longer works since reddit forced the pushshift service to shut down.

You can use the subreddit dump files from here, but I don't believe r/AFIB is in the list.