coursera-dl
Download Coursera courses, videos, subtitles, and materials
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Coursera Downloader Skill
Download Coursera course materials using coursera-dl. Supports both old platform and on-demand courses.
Capabilities
| Action | Description |
|---|---|
download_course |
Download full course with videos and materials |
download_videos_only |
Download only video files |
download_subtitles |
Download only subtitle files |
list_courses |
List enrolled courses |
Requirements
pip install coursera-dl
Authentication
Requires Coursera credentials. Set via environment variables:
export COURSERA_USER="your@email.com"
export COURSERA_PASS="yourpassword"
Or use CAUTH cookie from browser (recommended):
export COURSERA_CAUTH="your-cauth-value"
Usage Examples
Download Full Course
from rhea_noir.skills.coursera.actions import skill as coursera
result = coursera.download_course(
course_slug="machine-learning",
output_dir="./courses",
video_resolution="720p"
)
Download Only Videos
result = coursera.download_videos_only(
course_slug="deep-learning",
output_dir="./courses",
video_resolution="540p"
)
Download Subtitles Only
result = coursera.download_subtitles(
course_slug="python-programming",
languages=["en", "es"]
)
Filter by Section/Lecture
result = coursera.download_course(
course_slug="algorithms",
section_filter="Week_3", # Regex filter
lecture_filter="Sorting"
)
Video Resolutions
-
360p- Low quality, smallest files -
540p- Default, balanced -
720p- HD quality
Notes
[!IMPORTANT] Only download courses you are enrolled in. This tool respects Coursera's Terms of Service.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!