How ahmedashrafaz/cms-downloader works
Main Components
a) Client-Side Components:
• Node.js Script (index.js)
• Python Script (vodDownloader.py)
• Configuration (.env)
b) External Systems:
• CMS Platform (GUC/GIU CMS)
• Chromium Browser
• Local File System
Component Relationships
[.env] → [index.js] → [Chromium] → [CMS Platform]
• ↓
[Local Storage] ← [vodDownloader.py]
Specific elements
a) Configuration Layer:
• .env file (credentials and URL)
• Environment variables for Chromium
b) Processing Layer:
• Node.js script functionality
• Python script for video processing
• Puppeteer automation
c) External Integration Layer:
• CMS Platform interaction
• File system operations
• FFMPEG integration (optional)
Security Flow
• Credential handling
• Local-only storage
• Secure connections
Process Flow
• Course discovery
• Content identification
• Download management
• File organization
Error Handling
• Connection retry mechanisms
• File system checks
• Authentication validation
Video processing
Remember to emphasize the automation aspect and the security considerations mentioned in the README, such as local credential storage and direct CMS platform communication.