Skip to content

A python script which download image from given link and store into local storage in JPEG format.

Notifications You must be signed in to change notification settings

saidul-islam-tuhin/images-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Downloader

Python Version

A python script which download image from given link and store into local storage in JPEG format.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • pip

  • pipenv :

    pip install pipenv
    

Execution

  • Clone or download this repository.

    folder Structure

  • cd images-downloader
    
  • Activate virtual environment:

     pipenv shell 
    
  • Installed Packages from Pipfile :

    pipenv install 
    

    After installed packages there have create Pipfile.lock.

    Pipfile.lock create

  • Execute script:

     python images_downloader.py images.txt
    

Expected Output

After executing images_downloader script automatically there have been created Images folder where image are stored in JPEG format.

Output

In debug.log, we can see which image are downloaded and how many are remain in real time.

debug.log gif

Running the tests

python -m unittest test_images_downloader.py

About

A python script which download image from given link and store into local storage in JPEG format.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages