This repository contains a monolithic Python CLI tool for downloading Udemy courses, including DRM-protected video content. The core logic in main.py orchestrates authentication (bearer token or browser cookies), fetches course curriculum via Udemy's private API, and downloads lectures, subtitles, assets, quizzes (normal and coding assignments), practice assignments, and role-play exercises. It relies heavily on external tools: yt-dlp for DASH/HLS segment downloading, aria2c for accelerated downloads, ffmpeg for muxing and video transcoding, and shaka-packager for DRM decryption. The code is functional but lacks modularity, with global state, sparse error handling, and a monolithic main script. The standout component is mp4parse.py, a well-structured MP4 box parser that extracts PSSH headers for Widevine key identification, which could be extracted and reused independently. The project is no longer actively maintained as stated in its README, and some dependencies may be outdated.