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

App is broken #375

Open TANIAX opened 1 year ago

TANIAX commented 1 year ago

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

Errors: 0

KernelA commented 1 year ago

The same isssue

rleaver152 commented 1 year ago

edit the ./google_images_download/google_images_download.py file and change "info = data[11]" to "info = data[23]"

zrichz commented 1 year ago

cool - what does that actually do?! :)

zrichz commented 1 year ago

and what line is that? - I can't see that line in google_images_download.py :(

rleaver152 commented 1 year ago

line 408

mirzaim commented 1 year ago

Where is it? https://github.com/hardikvasa/google-images-download/blob/0d2bf8f17b5a8806d90df7258e7a172aa0cb7963/google_images_download/google_images_download.py#L406-L410

Do you mean this fork? https://github.com/Joeclinton1/google-images-download

rleaver152 commented 1 year ago

Guys - I beg your pardon, I had forgotten that I'd moved over to using that fork as mirzaim says. Line 407 there https://github.com/Joeclinton1/google-images-download which is working with the change mentioned. Getting old....

mrmrfan commented 1 year ago

can i get the page url and title for each image?

ramonefoster commented 1 year ago

edit the ./google_images_download/google_images_download.py file and change "info = data[11]" to "info = data[23]"

Format the object in readable format

def format_object(self, object):
    **print(object[1])**
    ...
    if info is None:
        info = data[25]       #actual change based on index of actual object

Check object and look fot the "actual object inside [{ ... }], with, in my case, was index 25, not 23.

FleetYang commented 1 year ago

edit the ./google_images_download/google_images_download.py file and change "info = data[11]" to "info = data[23]"

Format the object in readable format

def format_object(self, object):
    **print(object[1])**
    ...
    if info is None:
        info = data[25]       #actual change based on index of actual object

Check object and look fot the "actual object inside [{ ... }], with, in my case, was index 25, not 23.

very good,now my code can work

iftybito67 commented 9 months ago

nothing works

paradisfm commented 9 months ago

also facing this issue .... not fun :(