Git Product home page Git Product logo

Comments (4)

fsbarros98 avatar fsbarros98 commented on August 12, 2024 2

I fixed it by changing line 407 in google_images_download.py from info = data[11] to info = data[22], but I advise debugging within this function to verify if this will work for you

from google-images-download.

nikukyugamer avatar nikukyugamer commented on August 12, 2024 2

How about not info = data[22] but info = data[23]?
However, it is true that this is only a temporary fix.

cf. #34

from google-images-download.

diveaire avatar diveaire commented on August 12, 2024

same problem,
when i try to download i got this error:

Evaluating...
Starting Download...
'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "google_images_download.py", line 1178, in <module>
    main()
  File "google_images_download.py", line 1166, in main
    paths, errors = response.download(arguments)  # wrapping response in a variable just for consistency
  File "google_images_download.py", line 979, in download
    paths, errors = self.download_executor(arguments)
  File "google_images_download.py", line 1119, in download_executor
    arguments)  # get all image items and download images
  File "google_images_download.py", line 906, in _get_all_items
    object['image_link'], object['image_format'], main_directory, dir_name, count,
TypeError: 'NoneType' object is not subscriptable

Any idea how to fix it ??

from google-images-download.

marianoig4 avatar marianoig4 commented on August 12, 2024

Is no working for me. Even changing the 407 line....

from google-images-download.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.