ricardorodrigues-ca / zoom-recording-downloader

Downloads and organizes all cloud recordings from your Zoom Business account
MIT License
127 stars 65 forks source link

Download Error (KeyError) #3

Closed svedriall closed 4 years ago

svedriall commented 4 years ago
Traceback (most recent call last):
  File "/Users/pc/Desktop/zoom-recording-downloader-master/zoom-recording-downloader.py", line 270, in <module>
    main()
  File "/Users/pc/Desktop/zoom-recording-downloader-master/zoom-recording-downloader.py", line 230, in main
    recordings = list_recordings(user_id)
  File "/Users/pc/Desktop/zoom-recording-downloader-master/zoom-recording-downloader.py", line 141, in list_recordings
    recordings.extend(recordings_data['meetings'])
KeyError: 'meetings'

The first person's downloads are ok and perfectly downloaded but second user is not getting downloaded at all.

origintopleft commented 8 months ago
Traceback (most recent call last):
  File "/home/nicole/zoom-recording-downloader/zoom-recording-downloader.py", line 400, in <module>
    main()
  File "/home/nicole/zoom-recording-downloader/zoom-recording-downloader.py", line 331, in main
    recordings = list_recordings(user_id)
  File "/home/nicole/zoom-recording-downloader/zoom-recording-downloader.py", line 226, in list_recordings
    recordings.extend(recordings_data["meetings"])
KeyError: 'meetings'

(If the developer would prefer a new issue for this, I can do that)

The good news is I made it through a very large batch of users before encountering this.

origintopleft commented 8 months ago

Upon further investigation, it seems we hit API limits and the script did not handle that scenario gracefully. I've implemented an exponential backoff into a fork for now; once I get a chance to give it some polish I'll send it back up as a PR.

sadokx commented 6 months ago

Had this issue as well. Just one user, but 100 recordings. It errored out around video 27:

image

Did you find a fix @origintopleft ?

cc @ricardorodrigues-ca