A python script which download image from given link and store into local storage in JPEG format.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
pip
-
pipenv :
pip install pipenv
-
Clone or download this repository.
-
cd images-downloader
-
Activate virtual environment:
pipenv shell
-
Installed Packages from Pipfile :
pipenv install
After installed packages there have create Pipfile.lock.
-
Execute script:
python images_downloader.py images.txt
After executing images_downloader script automatically there have been created Images folder where image are stored in JPEG format.
In debug.log, we can see which image are downloaded and how many are remain in real time.
python -m unittest test_images_downloader.py