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

TypeError: 'NoneType' object is not subscriptable

Open nonauthor opened this issue 2 years ago • 5 comments

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 avatar Jan 08 '23 13:01 nonauthor

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

nonauthor avatar Jan 08 '23 13:01 nonauthor

Same issue. Is there a fix for this?

srkmish avatar Jul 16 '23 18:07 srkmish

No fix

moisty70 avatar Oct 19 '23 10:10 moisty70

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!

fzhxk avatar Dec 11 '23 03:12 fzhxk

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!

JYJ9701 avatar Feb 22 '24 09:02 JYJ9701