Download Reddit Saved Posts

When using the Reddit social media platform, we would sometimes save a post to view it later on. As time goes by, there could be quite a few posts saved. To view all of them in a more efficient manner, we can download them to our local disks, and here comes the method introduced today.

First, install the bulk-downloader-for-reddit library. It is written in Python, so the most convenient way is to use pip:

pip install bdfr

Then, what we need to do is using the CLI interface to start the downloading. But before that, we need to initiate the authorization step, to make the program able to access our Reddit account.

This step presents near zero risk to your Reddit account security, so no need to worry.

python -m bdfr download /Desktop --user me --saved --authenticate -L 6

And what exactly does the above command do?

/Desktop: Save the downloaded file to a specific path, here I choose a Desktop folder
--user me: Specify the user, which in here is the authorized account
--saved: Download posts from the 'Saved' section in your account
--authenticate: Initiate the OAuth process, it is necessary here since we specify the 'me' user
-L 6: Set maximum download limit to 6, so the program would just download the first 6 in your saved posts.

And that’s it. Once execute the above command, you would see all posts downloaded to your designated destination. It works well with most media types you’ll find on Reddit, including images, GIF, video, etc.

Also, the bdrf library has much more features then what I presented here, feel free to try more!

Written on October 24, 2022