Current version: 0.5.0
Downloads images and videos from the posts that you have saved on your Reddit account.
This is a PRAW rewrite of the scuffed-as-hell original version of the Reddit Saved Downloader that I wrote two years ago.
I will add utility functions of the original code to this rewrite eventually.
- Create your Reddit app.
- I'm too tired today to explain detailed steps. I'll get to writing this someday.
pip3 install -r requirements.txt
- Make a
credentials.py
file in the same directory asmain.py
with the following format:- IMPORTANT While not mission-critical, leave
USERAGENT
as is. At least make sure that it is not empty.
USERNAME = "Your Reddit username" PASSWORD = "Your Reddit password" CLIENT_ID = "The app's Client ID" SECRET = "The app's Client Secret" USERAGENT = "Reddit Saved Downloader PRAW Rewrite"
- IMPORTANT While not mission-critical, leave
python3 main.py
- Add comment scraping
- Pipe log to file
-
Universal download function, instead of current implementation of1download_requests
- Add features from RSD V1 (e.g. duplicates filter)
- Skip already downloaded media
1: Unrealistic goal, scrapped. Different websites have different download methods and would require separate functions for each website, which download_requests
already achieves.
- Countries JSON file (
countries.json
) modified from https://gist.github.com/keeguon/2310008, unknown license