Download Images with Just 3 Lines in Python

Ever wanted to download a lot of pictures from the Internet but felt just too lazy to do it. Not to worry anymore. Using a module called "simple-images-download",  Python can finish the job before you can say "Download Images" (Not really, but it is very quick). 

First, Use pip to install the module. This step is important as the module is not preinstalled like random and other such modules.
Use pip install simple-images-download

Then, Use the code below:

simple images download



This code creates a folder called simple-images (if it doesn't already exist) and a sub-folder called Python3

Inside the sub-folder, the images are saved:

Using the same code, any number of pictures of any keyword can be downloaded by editing the attributes of the response().download function.

Comments