ricardorodrigues-ca / zoom-recording-downloader

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

Th script breaks in the "get_downloads" function if there is a "recording without recordings files" #23

Open vdv2013 opened 1 year ago

vdv2013 commented 1 year ago

In zoom, sometimes there is a cloud recording out there but there are no recording files because "Recording was not saved because it is too short."

In such case, the whole script breaks in the function get_downloads(recording) because recording['recording_files'] is trying to get a value for a non-existing key.

Just add something like this at the start of that function:

  if recording.get('recording_files') == None:
        print("==> NO recording files here! Skipping")
        return downloads
vdv2013 commented 1 year ago

Here is how it looks in zoom:

image