Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not subscriptable #374

Open
nonauthor opened this issue Jan 8, 2023 · 5 comments
Open

TypeError: 'NoneType' object is not subscriptable #374

nonauthor opened this issue Jan 8, 2023 · 5 comments

Comments

@nonauthor
Copy link

I tried use the method that
git clone https://github.com/Joeclinton1/google-images-download.git
cd google-images-download && python setup.py install
But it still can not work.

@nonauthor
Copy link
Author

Item no.: 1 --> Item name = Soraya Mendivil olympic champion
Evaluating...
Traceback (most recent call last):
File "D:\ZMJ\pythonProject\SEV_data\download_image.py", line 11, in
paths = response.download(arguments)
File "C:\Users\Administrator\anaconda3\lib\site-packages\google_images_download-2.8.0-py3.9.egg\google_images_download\google_images_download.py", line 970, in download
File "C:\Users\Administrator\anaconda3\lib\site-packages\google_images_download-2.8.0-py3.9.egg\google_images_download\google_images_download.py", line 1118, in download_executor
File "C:\Users\Administrator\anaconda3\lib\site-packages\google_images_download-2.8.0-py3.9.egg\google_images_download\google_images_download.py", line 906, in _get_all_items
TypeError: 'NoneType' object is not subscriptable
Getting URLs without downloading images...
'NoneType' object is not subscriptable

@srkmish
Copy link

srkmish commented Jul 16, 2023

Same issue. Is there a fix for this?

@moisty70
Copy link

No fix

@fzhxk
Copy link

fzhxk commented Dec 11, 2023

chrome 120.0.6099.71 2023/12/11
They moved the “info” parameter to data [25], where google_images_download.py
411 if info is None:
412 info = data[11]

413 if info is None:
414 info = data[25]

Hope to help you!

@JYJ9701
Copy link

JYJ9701 commented Feb 22, 2024

chrome 120.0.6099.71 2023/12/11 They moved the “info” parameter to data [25], where google_images_download.py 411 if info is None: 412 info = data[11]

413 if info is None: 414 info = data[25]

Hope to help you!

it works!thX!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants