hardikvasa / google-images-download

Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!
MIT License
8.57k stars 2.11k forks source link

Downloaded 0 image using the example this repo document provided #386

Open stevezkw1998 opened 11 months ago

stevezkw1998 commented 11 months ago
root@46a091b7f167:/app# pip freeze | grep google
google-api-core==2.14.0
google-api-python-client==1.12.11
google-auth==2.25.1
google-auth-httplib2==0.1.1
google-cloud-core==2.3.3
google-cloud-storage==2.13.0
google-crc32c==1.5.0
google-images-download==2.8.0
google-resumable-media==2.6.0
googleapis-common-protos==1.61.0

The codes told the issue

In [1]: from google_images_download import google_images_download

In [2]: response = google_images_download.googleimagesdownload()

In [3]: arguments = {"keywords":"Polar bears,baloons,Beaches","limit":1,"print_urls":True}

In [4]: paths = response.download(arguments)

Item no.: 1 --> Item name = Polar bears
Evaluating...
Starting Download...

Errors: 0

Item no.: 2 --> Item name = baloons
Evaluating...
Starting Download...

Errors: 0

Item no.: 3 --> Item name = Beaches
Evaluating...
Starting Download...

Errors: 0

In [5]: paths
Out[5]: ({'Polar bears': [], 'baloons': [], 'Beaches': []}, 0)

In [6]: arguments = {"keywords":"human","limit":1,"print_urls":True}

In [7]: paths = response.download(arguments)

Item no.: 1 --> Item name = human
Evaluating...
Starting Download...

Errors: 0

In [8]: paths
Out[8]: ({'human': []}, 0)

In [9]:
thanhtoan1196 commented 11 months ago

any updates?

rubikJ commented 8 months ago

same issue

neilyoung commented 5 months ago

Outdated