Skip to content

Instantly share code, notes, and snippets.

@gonenradai
gonenradai / gdrive2kaltura.py
Last active October 15, 2023 12:08 — forked from zoharbabin/gdrive2kaltura.py
Recursively migrate all media assets from Google Drive to Kaltura using Bulk Upload CSV
"""
Google Drive Media Extractor for Kaltura Upload:
This script processes a specified Google Drive folder to identify media files
(audio, video, and images) and produces a CSV file suitable for bulk upload
to the Kaltura platform. It recursively traverses through all subfolders,
captures metadata about the media files, and appends them to the CSV. Media
files are determined based on their MIME type.
Author Metadata:
<button style="font-size:32px;" onclick="ical_download()">Download</button>
<script>
//where the magic happens
function ical_download(){
//name of event in iCal
this.eventName = 'My Cool Event'; // CHANGE VALUE
//name of file to download as