From d8b41a903f4de8bad4833663bdbd395ac4c911e0 Mon Sep 17 00:00:00 2001 From: Jan Van de Poel Date: Tue, 28 Feb 2023 17:00:20 +0100 Subject: [PATCH 1/2] Update google_images_download.py --- google_images_download/google_images_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google_images_download/google_images_download.py b/google_images_download/google_images_download.py index eac2a5bf..4e2cea44 100755 --- a/google_images_download/google_images_download.py +++ b/google_images_download/google_images_download.py @@ -404,7 +404,7 @@ def format_object(self, object): main = data[3] info = data[9] if info is None: - info = data[11] + info = data[23] formatted_object = {} try: formatted_object['image_height'] = main[2] From 6b117da37cba064d39df38999d2ca469bb630d98 Mon Sep 17 00:00:00 2001 From: Jan Van de Poel Date: Mon, 24 Apr 2023 11:39:13 +0200 Subject: [PATCH 2/2] Update google_images_download.py Adding this fix: https://github.com/Joeclinton1/google-images-download/issues/39 --- google_images_download/google_images_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google_images_download/google_images_download.py b/google_images_download/google_images_download.py index 4e2cea44..5201cf56 100755 --- a/google_images_download/google_images_download.py +++ b/google_images_download/google_images_download.py @@ -402,7 +402,7 @@ def get_all_tabs(self, page): def format_object(self, object): data = object[1] main = data[3] - info = data[9] + info = data[25] if info is None: info = data[23] formatted_object = {}