forked from lanec/zoom-batch-downloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_template.py
75 lines (58 loc) · 2.93 KB
/
config_template.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Zoom API credentials.
ACCOUNT_ID = R"##########"
CLIENT_ID = R"##########"
CLIENT_SECRET = R"##########"
# Insert non ready files flag here, if it's true only files that were not ready during last runtime will be downloaded.
NOT_READY_FILES_ONLY = False
# Put your own download path here, no need to escape backslashes but avoid ending with one.
OUTPUT_PATH = R"C:\Test\Zoom"
# Date range (inclusive) for downloads, None value for Days gets replaced by first/last day of the month.
START_DAY, START_MONTH, START_YEAR = None, 5, 2020
END_DAY, END_MONTH, END_YEAR = None, 3, 2022
# Put here emails of the users you want to check for recordings. If empty, all users under the account will be checked.
USERS = [
# R"####@####.####",
# R"####@####.####",
]
# Put here the topics of the meetings you wish to download recordings for. If empty, no topic filtering will happen.
TOPICS = [
# R"############",
# R"############",
]
# Put here the file types you wish to download. If empty, no file type filtering will happen.
RECORDING_FILE_TYPES = [
# R"MP4", # Video file of the recording.
# R"M4A", # Audio-only file of the recording.
# R"TIMELINE", # Timestamp file of the recording in JSON file format.
# R"TRANSCRIPT", # Transcription file of the recording in VTT format.
# R"CHAT", # A TXT file containing in-meeting chat messages that were sent during the meeting.
# R"CC", # File containing closed captions of the recording in VTT file format.
# R"CSV", # File containing polling data in CSV format.
# R"SUMMARY", # Summary file of the recording in JSON file format.
]
# If True, recordings will be grouped in folders by their owning user.
GROUP_BY_USER = True
# If True, recordings will be grouped in folders by their topics.
GROUP_BY_TOPIC = True
# If True, each instance of recording will be in its own folder (which may contain multiple files).
# Note: One "meeting" can have multiple recording instances.
GROUP_BY_RECORDING = False
# If True, participant audio files will be downloaded as well.
# This works when "Record a separate audio file of each participant" is enabled.
INCLUDE_PARTICIPANT_AUDIO = True
# Set to True for more verbose output.
VERBOSE_OUTPUT = False
# Constants used for indicating size in bytes.
B = 1
KB = 1024 * B
MB = 1024 * KB
GB = 1024 * MB
TB = 1024 * GB
# Minimum free disk space in bytes for downloads to happen, downloading will be stalled if disk space is
# expected to get below this amount as a result of the new file.
MINIMUM_FREE_DISK = 1 * GB
# Tolerance for recording files size mismatch between the declared size in Zoom Servers and the files
# actually downloaded from the server.
# This was observed to happen sometimes on google drive mounted storage (mismatches of < 300 KBs).
# Note: High tolerance might cause issues like corrupt downloads not being recognized by script.
FILE_SIZE_MISMATCH_TOLERANCE = 0 * KB