Using this script:
- No Setup Needed!
- Download any number of images from Any Subreddit! Tested by downloading 500 images.
- Select your sort type (Top, Hot, New, Controversial)
- Select your sort time (All, Year, Month, Week, Day)
- Extremely Reliable Downloading. With progress bar showing ETA.
- Download using ParallelProcessing
- Specify your custom save location
- Major reddit media servers supported (i.redd.it, imgur, gfycat, redgif)
- If media server is unsupported, Download raw previews
- (Optional) Install tqdm to see tqdm progress and time estimates. Without tqdm, native progress bar is printed to terminal output.
PS: Automatic wallpaper setting from downloaded images and support for python v2.x has been removed in latest update. Feature will be added back soon(~1 week). Please use the old version if you absolutely need that feature.
Just download the files and run the file - no need to setup anything at all!
To download via Terminal:
git clone https://github.com/tsarjak/WallpapersFromReddit.git
# Next step is Fully Optional - to use tqdm progress bar. Without this, native progress bar will show up with exact same features, just a little less pretty.
pip install tqdm
In terminal:
# In the Home Directory or the Directory in which you cloned/downloaded the script
cd ~/DownloadRedditImages
python download.py
--subreddit <your choice of subreddit>
--sort_type <hot|new|rising|top>
--sort_time <all|year|month|week|day>
--download_dir <Directory where you want to store the images. For Max/Linux, the script can identify home directory and sets a RedditMedia folder there. For Windows, a path MUST be provided>
--max_post_downloads <Maximum number of posts media to download. Default=10>
--max_simultaneous_downloads <Maximum number of simultaneous downloads to run using multiple CPU cores. Default=16.>
--max_trials <Maximum number of trials to fetch subreddit data. Sometimes the response is slow and multiple attempts are needed. Default=20.>
python download.py --subreddit pics --sort_type top --sort_time all --max_post_downloads 40 --download_dir /Users/user_me/Pictures/RedditMedia/
# This will download top 50 posts of all time from earthporn subreddit to /Users/user_me/Pictures/RedditMedia folder.
- Without tqdm installed:
- With tqdm installed (optional):
- Code cleanup and minor bug fixes.
- Added support for mp4 and gif downloads.
- Added support to download directly from media servers (imgur, i.redd.it, gfycat, redgifs) instead of reddit post previews.
- For other media servers, fallback to reddit post preview download.
- Added native progress bar. As well as tqdm progress bar for those who already have it installed on their systems.
- Removed support for automatic wallpaper changing for Linux and Mac. Support will be added back in v2.1.2.
- Removed support for python v2.x. Some requests/url libraries are difficult to maintain for python v2.x now.
- With this release, WallpapersFromReddit is a No Setup Needed script. This release gets rid of all the requirements, essentially making this a download and run program.
- Add support to select the sort_type for downloading images. Previously, only
hot
was supported, but nowhot, top, new, controversial
are supported. - Add support to select the sort_time for downloading images. Previously, only
day
was supported, but nowday, week, month, year, all
are supported. - A major overhaul of the entire codebase. The previous code has been refactored for clarity, optimization and to avoid some unwanted and unexpected behavior.
DownloadRedditImages v2.0.0 - https://github.com/tsarjak/WallpapersFromReddit/releases/tag/v2.0.0