wallpaper-downloader is a simple Python module to easily download wallpaper images from websites that we supported.
pip install wallpaper-downloader
- wallpaperflare.com
- pexels.com
- pixabay.com
- unsplash.com
- wallpapercave.com
- wallpapersok.com
from walldown import WallpaperFlare, download_url
wf = WallpaperFlare("Space")
for img in wf.search(2):
print("name: ", img.name)
print("size: ", img.size)
print("width: ", img.width)
print("height: ", img.height)
print("url: ", img.url)
print("preview: ", img.preview)
print("keywords: ", list(img.keywords))
print("description: ", img.description)
print("px_resolution: ", img.px_resolution)
print("=" * 30)
# To download image uncomment this line
# download_url(img.url)