question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Images don't get downloaded

See original GitHub issue

The error is:

mona6@DESKTOP-A5116O3 MINGW64 ~/workspace/download_google_img
$ python download.py

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


Unfortunately all 100 could not be downloaded because some images were not downloadable. 0 is all we got for this search filter!

Errors: 0


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


Unfortunately all 100 could not be downloaded because some images were not downloadable. 0 is all we got for this search filter!

Errors: 0


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


Unfortunately all 100 could not be downloaded because some images were not downloadable. 0 is all we got for this search filter!

Errors: 0

({'Polar bears': [], 'baloons': [], 'Beaches': []}, 0)

The code is:

from google_images_download import google_images_download   #importing the library

response = google_images_download.googleimagesdownload()   #class instantiation

arguments = {"keywords":"Polar bears,baloons,Beaches","limit":100,"print_urls":True}   #creating list of arguments
paths = response.download(arguments)   #passing the arguments to the function
print(paths)


I am using Windows 10. The directories are created but no image is downloaded into them.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
vasurobocommented, Apr 21, 2020

Same issue, no solution i guess.

0reactions
pnpgatorcommented, Jun 21, 2020

See this quick and dirty fix, it solved the problem for me! I just erased the pre-existing code in the file google_images_download.py and substituted it with the provided code by the user

Can you share what code you substituted in? Is it the code in https://github.com/sczhengyabin/Image-Downloader/blob/master/image_downloader.py or something else?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to Do if Can't Download or Save Images From Google ...
Open Chrome, and click on three dots at the top right corner. · Go to More tools > Extensions. · Locate the extension...
Read more >
Why Can't I Download Or Save Images From Google? How To ...
Don't worry! This article will discuss the problems and help you solve them. Why Can't I Download Images From Google? There can be...
Read more >
A Guide to Fixing Cannot Save Images From Google on ...
Are you trying to download images from Google Image search and unable to save it on your Android, iPhone, or iPad? Find out...
Read more >
Images Won't Download from Google Chrome? Try these fixes
Images Won't Download from Google Chrome? Try these fixes · Corrupted cache data: The main reason responsible for the problem is the corrupted ......
Read more >
Can't Save Images from Google Chrome on Android? Here's ...
Chrome can't download images on your phone? Here are some quick ways to fix can't save images from Google Chrome issue on Android...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found