A simple CLI tool for archiving Udemy courses.
| .gitignore | ||
| LICENSE | ||
| README.MD | ||
| udemy_archivist.py | ||
UdemyArchivist
Archive and download Udemy courses from the command line.
Features
- Download enrolled courses
- MP4 and HLS support
- Download subtitles
- Download supplementary assets
- Resume interrupted downloads
- Interactive course browser
- Proxy support
Requirements
- Python 3
- requests
- ffmpeg
Install dependencies:
pip install requests
Install ffmpeg from your distribution repositories.
Authentication
Get your access_token cookie from Udemy:
- Log into Udemy.
- Open browser developer tools.
- Find the
access_tokencookie. - Save it:
python udemy_archivist.py --token YOUR_TOKEN
Usage
Interactive mode:
python udemy_archivist.py
List courses:
python udemy_archivist.py --list
Download a course:
python udemy_archivist.py --course 1234567
Select quality:
python udemy_archivist.py --course 1234567 --quality 1080
Skip subtitles:
python udemy_archivist.py --course 1234567 --no-subs
Skip supplementary assets:
python udemy_archivist.py --course 1234567 --no-assets
Output
downloads/
└── Course Name-1234567/
├── 01 - Introduction/
│ ├── 001 - Welcome.mp4
│ ├── 001 - Welcome.en_US.vtt
│ └── 001 - Welcome - slides.pdf
└── ...
Disclaimer
This software is intended for downloading and archiving courses that you already have access to.
You are responsible for complying with applicable laws, copyright restrictions and Udemy's terms of service.
License
This is free and unencumbered software released into the public domain.
See the UNLICENSE file for details.

