google-images-download icon indicating copy to clipboard operation
google-images-download copied to clipboard

Reverse image feature not working any more

Open ezzdev opened this issue 5 years ago • 14 comments

Reverse image feature not working any more

can you please confirm if its only me ?

C:\> googleimagesdownload -si https://zzz.com/img/art/4335.jpg -l 15

Item no.: 1 --> Item name = 2020-02-05 13_37_36
Evaluating...
https://zzz.com/img/art/4335.jpg
Starting Download...


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

Errors: 0


Everything downloaded!
Total errors: 0
Total time taken: 8.744839668273926 Seconds

ezzdev avatar Feb 05 '20 11:02 ezzdev

I am also getting the same message @ezzdev .

Dhivyaa-D avatar Feb 05 '20 16:02 Dhivyaa-D

me too

edgabaldi avatar Feb 05 '20 17:02 edgabaldi

Why images are not downloaded, what is the problem?

Dhivyaa-D avatar Feb 05 '20 17:02 Dhivyaa-D

Refer to issue no #285 @ezzdev @edgabaldi

Dhivyaa-D avatar Feb 05 '20 18:02 Dhivyaa-D

Hi @Dhivyaa-D, thanks for the answer.

When i search using google images on the web, the correct images appear. But when i use the same parameters in the google_images_download doen't works.

Screen Shot 2020-02-05 at 15 38 22

Code example:

In[1]:  from google_images_download import google_images_download
In[2]: response = google_images_download.googleimagesdownload()
In[3]: args = {
...     "keywords": "Lava Loucas LI14X Inox 14 Servicos 127V Electrolux",
...     "limit": 5,
...     "size": "large",
...     "no_directory": True,
...     "format": "png",
... }
In[4]: response.download(arguments)

Stdout:

Item no.: 1 --> Item name = Lava Loucas LI14X Inox 14 Servicos 127V Electrolux
Evaluating...
Starting Download...

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

Errors: 0

({'Lava Loucas LI14X Inox 14 Servicos 127V Electrolux': []}, 0)

edgabaldi avatar Feb 05 '20 18:02 edgabaldi

Any workarounds???

rakshithrddy avatar Feb 06 '20 03:02 rakshithrddy

Google changed something and it's breaking up for everyone, see here: https://github.com/hardikvasa/google-images-download/issues/280#issuecomment-582705697

Norod avatar Feb 06 '20 12:02 Norod

Is there any solution? Maybe someone knows an alternative?

goodenfreelance avatar Feb 07 '20 10:02 goodenfreelance

For a solution please see: #298

The issue is "rg_meta notranslate" is not present anymore and now all data is given by a javascript callback "AF_initDataCallback".

Joeclinton1 avatar Feb 09 '20 16:02 Joeclinton1

Hi all,

Try adding the image downloader extension to your google chrome browser (https://chrome.google.com/webstore/detail/image-downloader/cnpniohnfphhjihaiiggeabnkjhpaldj?hl=en-US)

Thanks.

codefreak404 avatar Feb 10 '20 21:02 codefreak404

It was a very useful project. Its a pity its not usable anymore. Any new patches or update ? something more hard coding permanent wise not like installing extensions on web browsers?

JM-221 avatar Feb 10 '20 21:02 JM-221

#298 the solution from Ryan-T works pretty well

MarlonHie avatar Feb 12 '20 02:02 MarlonHie

I am still getting errors and I suspect its a Python3/Python2 problem. I am using Python 2 and still get this using the Ryan-T version:

File "google_images_download.py", line 754, in _get_image_objects object_decode = bytes(object_raw, "utf-8").decode("unicode_escape") TypeError: str() takes at most 1 argument (2 given)

greg-oz avatar Feb 15 '20 00:02 greg-oz

I have confirmed its a Python 2 problem with the code, if I run it in Python 3 it works

greg-oz avatar Feb 15 '20 01:02 greg-oz