THIS PROJECT IS NOW DEPRECATED, AND WILL NOT BE MAINTAINED.
Check out the PRAW Rewrite instead.
A script that automatically downloads your saved images on Reddit.
Tested on CPython 3.9 and 3.10.
Will test compatibility on PyPy 3.9.
~$ pip3 install wget
~$ pip3 install requests
~$ pip3 install opencv-python
- Go to https://www.reddit.com/prefs/apps and click on "create another app..."
- Name: Anything you want.
- Developer: Your Reddit username.
- Select the "script" radio button.
- Description: Anything you want.
- About URL: Leave blank.
- Redirect URI:
http://localhost:
+Any port number
. - Click on "create app."
- Make a
credentials.py
file in the same directory asmain.py
. - Structure the file in this manner:
USERNAME = "Your Reddit username"
PASSWORD = "Your Reddit password"
CLIENT_ID = "Your app's client ID. Found under 'personal use script.'"
SECRET = "Your app's client secret. Found above the app name."
~$ python3 main.py
- Download images in gallery
- Categorize images based on origin subreddit
- Add Redgifs support
- Add Gelbooru support
- Filter out files less than 4kB in size for manual review
- Add support for command line arguments