Closed BalazsAdorjan closed 3 years ago
I'm also encountering this same issue on macOS. This seems to be caused by a request's page having just a 'nextPageToken' but not any mediaItems. I have roughly 11,850 photos/videos in my Google Photos.
macOS Monterey v12.0 (Beta) ArchiverForGooglePhotos v2.0.0 Python v3.9.1
=============
SESSION STATS
=============
Seconds: 505.34s
Downloads: 0 items
Traceback (most recent call last):
File "/Volumes/Homesweet/GooglePhotoArchiver/gparch_cli.py", line 127, in <module>
account.download_library()
File "/Volumes/Homesweet/GooglePhotoArchiver/gparch.py", line 281, in download_library
items = self.process_media_items(self.list_media_items(), self.lib_dir)
File "/Volumes/Homesweet/GooglePhotoArchiver/gparch.py", line 356, in list_media_items
media_items_list += request["mediaItems"]
KeyError: 'mediaItems'
print(request)
{'nextPageToken': 'jSfXfpoJigNozSwinLJzjSfXfpoJigNozSwinLJzjSfXfpoJigNozSwinLJzjSfXfpoJigNozSwinLJzjSfXfpoJigNozSwinLJz'}
Followed the instructions, everything seemed fine, but the exe doesn't start downloading. Managed to time this screenshot just right, before it quits.