Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.
/ saved_downloader Public archive

A script that automatically downloads your most recent saved images from Reddit.

License

Notifications You must be signed in to change notification settings

goonmandu/saved_downloader

Repository files navigation

Reddit Saved Image Downloader

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.

Requirements

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

If you want to use this:

Registering the Reddit app

  1. Go to https://www.reddit.com/prefs/apps and click on "create another app..."
  2. Name: Anything you want.
  3. Developer: Your Reddit username.
  4. Select the "script" radio button.
  5. Description: Anything you want.
  6. About URL: Leave blank.
  7. Redirect URI: http://localhost: + Any port number.
  8. Click on "create app."

Entering in the credentials

  1. Make a credentials.py file in the same directory as main.py.
  2. 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."

Run

~$ python3 main.py

TODO

  • 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

About

A script that automatically downloads your most recent saved images from Reddit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages