Skip to content

Commit f4cc7c2

Browse files
committed
okay fyn
1 parent 83da4a0 commit f4cc7c2

10 files changed

Lines changed: 1144 additions & 68 deletions

File tree

.env.example

Lines changed: 58 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,83 @@
11
# Thinkific-Downloader Environment Configuration
22
# Copy this file to .env and fill in your actual values
33

4+
# ===============================================
5+
# REQUIRED AUTHENTICATION
6+
# ===============================================
7+
48
# For downloading all content, use the course link.
59
COURSE_LINK="https://your-thinkific-site.com/api/course_player/v2/courses/your-course-name"
610

7-
# For selective content downloads, use the JSON file created from Thinki Parser.
8-
# Copy the file to the Thinkifi Downloader root folder.
9-
# Specify the file name below. Ex. COURSE_DATA_FILE="modified-course.json"
10-
COURSE_DATA_FILE=""
11-
1211
# Client date header - Get this from browser Developer Tools Network tab
1312
CLIENT_DATE="2025-09-23T07:42:31.512Z"
1413

1514
# Browser session cookie - Get this from browser Developer Tools Application/Storage tab
1615
# IMPORTANT: Keep this secret and never share it!
1716
COOKIE_DATA="_thinkific_session=YOUR_SESSION_COOKIE_HERE"
1817

18+
# ===============================================
19+
# BASIC SETTINGS
20+
# ===============================================
21+
1922
# Quality Available: "Original File", "1080p", "720p", "540p", "360p", "224p"
2023
# Recommended: "720p" for good quality and reasonable file size
2124
VIDEO_DOWNLOAD_QUALITY="720p"
2225

23-
# Set to true to download all available video formats/qualities
24-
# Warning: This will significantly increase download size and time
25-
# ALL_VIDEO_FORMATS=false
26+
# Set download directory (defaults to ./downloads)
27+
# All course content will be downloaded to this directory
28+
OUTPUT_DIR="./downloads"
29+
30+
# ===============================================
31+
# ENHANCED FEATURES
32+
# ===============================================
33+
34+
# Number of concurrent downloads (default: 3, recommended: 1-5)
35+
# Higher numbers may trigger rate limiting
36+
CONCURRENT_DOWNLOADS=3
37+
38+
# Delay between downloads in seconds (default: 1.0)
39+
# Increase if you encounter rate limiting issues
40+
DOWNLOAD_DELAY=1.0
41+
42+
# Number of retry attempts for failed downloads (default: 3)
43+
RETRY_ATTEMPTS=3
44+
45+
# Rate limiting in MB/s (default: unlimited)
46+
# Set a value to limit download speed (e.g., RATE_LIMIT_MB_S=5.0)
47+
# RATE_LIMIT_MB_S=
48+
49+
# File validation after download (default: true)
50+
# Validates file integrity and size
51+
VALIDATE_DOWNLOADS=true
52+
53+
# Resume partial downloads (default: true)
54+
# Automatically resume interrupted downloads
55+
RESUME_PARTIAL=true
56+
57+
# Debug mode (default: false)
58+
# Enable detailed logging for troubleshooting
59+
DEBUG=false
60+
61+
# ===============================================
62+
# ADVANCED SETTINGS
63+
# ===============================================
2664

2765
# Set to true to enable ffmpeg presentation merging (requires ffmpeg installed)
2866
# This combines multi-part presentations into single video files
29-
# FFMPEG_PRESENTATION_MERGE=false
30-
31-
# Optional: Set download directory (defaults to ./downloads)
32-
# OUTPUT_DIR="./downloads"
67+
FFMPEG_PRESENTATION_MERGE=false
3368

34-
# Optional: Number of concurrent downloads (default: 2)
35-
# Higher numbers may trigger rate limiting
36-
# CONCURRENT_DOWNLOADS=2
69+
# ===============================================
70+
# OPTIONAL FEATURES (LEGACY SUPPORT)
71+
# ===============================================
3772

38-
# Optional: Delay between downloads in seconds (default: 1)
39-
# Increase if you encounter rate limiting issues
40-
# DOWNLOAD_DELAY=1
73+
# For selective content downloads, use the JSON file created from Thinki Parser.
74+
# Copy the file to the Thinkifi Downloader root folder.
75+
# Specify the file name below. Ex. COURSE_DATA_FILE="modified-course.json"
76+
# COURSE_DATA_FILE=""
4177

42-
# Optional: Number of retry attempts for failed downloads (default: 3)
43-
# RETRY_ATTEMPTS=3
78+
# Set to true to download all available video formats/qualities
79+
# Warning: This will significantly increase download size and time
80+
# ALL_VIDEO_FORMATS=false
4481

45-
# Optional: Log level (DEBUG, INFO, WARNING, ERROR)
82+
# Log level (DEBUG, INFO, WARNING, ERROR)
4683
# LOG_LEVEL="INFO"

0 commit comments

Comments
 (0)