This is a automation scripts whihc using selenium package and Webdriver. You can search
and download stock free image/resources from unsplash.com, in a single line of brilliant python code
- 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 unsplashbot
or
pip install git+https://github.com/manojap/unsplashbot.git
from unsplashbot import unsplash
unsplash.search().filter_by_tag('flower')
unsplash.search().find('flowers')
On linux and Mac you need to clone the repo and install requirements
# clone the repo
git clone https://github.com/manojap/unsplashbot.git
pip install -r requirements.txt
from unsplashbot import unsplash
unsplash.search().filter_by_tag('fruit')
unsplash.search().find('flowers')
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. I recommend use Chrome
Use delay
for adjust elapse time for loading downloading button in slower internet connection.