Introduction
If anyone uses Zoom to record and later wants to access recordings of video calls, here’s a simple linux bash script to download the video file and acompanying subtitles. For a long time I used zoomdl, but it is no longer under active development, and I began running into various issues about a year ago.
This tutorial requires you to have a “cookies” text file, which needs to contain the cookies export in the Netscape HTTP format of the Zoom cookies after logging in.
Here’s the steps to setting this up:
Install cookie editor
Install the cookie editor extension. I personnally use it with Microsoft Edge, but there are similar extensions for Chrome, Firefox, etc.
Modify export format
Change the preferred cookie export format to Netscape HTTP Cookie File
in the extension options. It is necessary to export in this format, otherwise yt-dlp will not be able to read the cookies.txt file correctly.
Log in to Zoom
Log in to Zoom in your browser. Be sure to remain logged in while exporting the cookies under step 4.
Export cookies
The export button is at the top fo the window. It copies the cookies to your clipboard, which then need to be pasted into a text file (I have my saved as cookies.txt), which yt-dlp will then read when it executes.
Create bash script
Save the following code to a text file (my bash script file name is yt-dlp-zoom.sh
):
|
|
Change permissions
Modify the permissions of the bash script to allow execution:
$ chmod +x yt-dlp-zoom.sh
Execute the script
Execute the bash script with ./yt-dlp-zoom.sh, copy and paste the link to the video that you would like to save, and it should download the video and the subtitles.
References
References for yt-dlp (and used for above):