Skip to content

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

Open
@stevezkw1998

Description

@stevezkw1998
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]:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions