I love the wallpapers shared on the r/wallpaper and r/wallpapers, so I created this script to download wallpapers automatically.
- Save the post on reddit.
- Run the script.
- The script will automatically download the images to a folder of your choice.
- Python installation (added to path)
- Get the
client_idandclient_secretfrom the reddit api (follow this guide)
- Download the
srcdirectory andrequirments.txt - Open cmd/powershell/terminal
- Install required libraries by
pip install -r requirments.txt
- run script using
python (path to file)/main.py. - In your preferences folder add your preferred subreddits in
config.jsonin thesubreddit_listsection.
- You need to be logged in to reddit on your default browser.
- If you are not logged in the script won't be able to get the details it needs.