Here we will use multiprocessing to download images in batch with python.
This saved me a lot of time while downloading images.
git clone https://github.com/nOOBIE-nOOBIE/image_downloader_multiprocessing_python
pip install -r requirements.txt
python3 image_downloader.py <filename_with_urls_seperated_by_newline.txt> <num_of_process>
This will read all the urls in the text file and download them into a folder with name same as the filename. num_of_process is optional.(by default it uses 10 process)
python3 image_downloader.py cats.txt
1183 images in 121.99 seconds with 10 process.