From 859fc5eda0edf15d3d5143ad21e09b9de0de510f Mon Sep 17 00:00:00 2001 From: Hemant <87967889+Hemant2801@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:41:43 +0530 Subject: [PATCH 1/2] Image downlaoder --- scripts/Image downloader/Google_image_download.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/Image downloader/Google_image_download.py diff --git a/scripts/Image downloader/Google_image_download.py b/scripts/Image downloader/Google_image_download.py new file mode 100644 index 0000000..2b5a415 --- /dev/null +++ b/scripts/Image downloader/Google_image_download.py @@ -0,0 +1,6 @@ +# pip install simple_image_download + +from simple_image_download import simple_image_download as simp +response = simp.simple_image_download +i = 'name' +response().download(i, 'total images') From b004459a213c3ef7e0f9d34bc804fe9dab54f891 Mon Sep 17 00:00:00 2001 From: Hemant <87967889+Hemant2801@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:42:44 +0530 Subject: [PATCH 2/2] Image downloader --- scripts/Image downloader/Google_image_download.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Image downloader/Google_image_download.py b/scripts/Image downloader/Google_image_download.py index 2b5a415..3e805af 100644 --- a/scripts/Image downloader/Google_image_download.py +++ b/scripts/Image downloader/Google_image_download.py @@ -2,5 +2,7 @@ from simple_image_download import simple_image_download as simp response = simp.simple_image_download -i = 'name' + +# This code can be run in a loop +i = 'name' #Name of the item response().download(i, 'total images')