google-images-download with command

◾️ We can download “search word” images with google-images-download

  • method1) google-images-download do not work well.
$ pip install google_images_download
$ googleimagesdownload --keywords "dog" --limit 20

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


Unfortunately all 20 could not be downloaded because some images were not downloadable. 0 is all we got for this search filter!
  • method2) we reinstall the package with source
$ pip install -e gid-joeclinton
.......
  Attempting uninstall: google-images-download
    Found existing installation: google-images-download 2.8.0
    Uninstalling google-images-download-2.8.0:
      Successfully uninstalled google-images-download-2.8.0
  Running setup.py develop for google-images-download
Successfully installed google-images-download

$ googleimagesdownload --keywords "dog" --limit 20

Item no.: 1 --> Item name = dog
Evaluating...
Starting Download...
Completed Image ====> 1.maxresdefault.jpg
Completed Image ====> 2.collage_of_nine_dogs.jpg

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です