Set of wallpaper download automation scripts using selenium package and Webdriver. You can search and download wall paper in a single line of brilliant python code,using the appropriate classes.How to use
Go head, clone or install the package and just use the appropriate object to search and download images.
- Python 3.7 or later
- Windows/Linux/Mac
- Python Modules
- Selenium
- webdriver-manager
In Windows you can just install the pacakge from github git with pip
command as follows
# Install the package
pip install wallspyder
or
pip install git+https://github.com/manojap/wallspyder.git
from wallspyder import pexels
from wallspyder import flareDownloader
wallpaperflare.search('python').download(30)
pexels.search('fruits').download()
On linux and Mac you need to clone the repo and install requirements
# clone the repo
git clone https://github.com/manojap/wallspyder.git
pip install -r requirements.txt
from wallspyder import pexels
from wallspyder import flareDownloader
wallpaperflare.search('python').download(30)
pexels.search('fruits').download()
Make sure your save location is set to default [Firefox]
or do it for the first time
, after the
automation process begins and pop up window for file action.
Use delay
for wait some time for loading downloading button in slower internet connection
cars = flareDownloader('cars').download(delay=100)
Even though I included the Firefox and chrome support.I recommend Chrome for pexels
like sites