A Python script that downloads a random wallpaper from unsplash.com and saves it to a local directory.
- Python 3.8 or higher Python +3.8
- windows, mac, linux
- Download the script from this repository or copy the code into a new Python file.
- Install Python 3.8 or higher on your computer if it is not already installed.
- Open a cmd or terminal or shell in the extracted directory
- Run the script using the command
python wd.py
.
- Termux
- If it is not installed on your device, download it here. Termux
- Open Termux app
- Install git
pkg install git
- Install python
pkg install python
- Clone the git
git clone https://github.com/aliilapro/Wallpaper-Downloader
- Open script
cd Wallpaper-Downloader
- Run script
python3 wd.py
When you run the script, it will download a random wallpaper from unsplash.com and save it to a directory called ~/wallpaper
. You can change the download directory by modifying the DOWNLOAD_DIR
variable in the script.