coursera-dl /coursera-dl
Script for downloading Coursera.org videos and naming them.
★ 9,672⑂ 2,236👁 316⑃ 225● 652▤ 0
+0
日增长
9,672
stars
2,236
forks
316
watchers
225
prs
652
issues
0
releases
README
Coursera Downloader
- Coursera Downloader
- Introduction
- Features
- Disclaimer
- Installation instructions
- Recommended installation method for all Operating Systems
- Alternative ways of installing missing dependencies
- Alternative installation method for Unix systems
- ArchLinux
- Installing dependencies on your own
- Docker
- Windows
- Create an account with Coursera
- Running the script
- Resuming downloads
- Troubleshooting
- China issues
- Found 0 sections and 0 lectures on this page
- Download timeouts
- Windows: proxy support
- Windows: Failed to create process
- [SSLError: [Errno 1] _ssl.c:504: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure](sslerror-errno-1-_sslc504-error14094410ssl-routinesssl3_read_bytessslv3-alert-handshake-failure)
- Alternative CDN for MathJax.js
- Reporting issues
- Filing an issue/Reporting a bug
- Feedback
- Contact
Introduction
[Coursera][1] is arguably the leader in massive open online courses (MOOC)
with a selection of more than 300 classes from 62 different institutions [as of
February 2013][13]. Generous contributions by educators and institutions are
making excellent education available to many who could not afford it otherwise.
There are even non-profits with "feet on the ground" in remote areas of the
world who are helping spread the wealth (see the feedback below from [Tunapanda][14]).
This script makes it easier to batch download lecture resources (e.g., videos, ppt,
etc) for Coursera classes. Given one or more class names and account credentials,
it obtains week and class names from the lectures page, and then downloads
the related materials into appropriately named files and directories.
Why is this helpful? A utility like [wget][2] can work, but has the
following limitations:
1. Video names have numbers in them, but this does not correspond to
the actual order. Manually renaming them is a pain that is best left
for computers.
2. Using names from the syllabus page provides more informative names.
3. Using wget in a for loop picks up extra videos which are not
posted/linked, and these are sometimes duplicates.
Browser extensions like DownloadThemAll is another possibility, but
coursera-dl provides more features such as appropriately named files.
This work was originally inspired in part by [youtube-dl][3] by which
I've downloaded many other good videos such as those from Khan Academy.
Features
Support for all kinds of courses (i.e., "Old Platform"/time-based as
well as "New Platform"/on-demand courses).
Intentionally detailed names, so that it will display and sort properly
on most interfaces (e.g., [VLC][4] or MX Video on Android devices).
Regex-based section (week) and lecture name filters to download only
certain resources.
File format extension filter to grab resource types you want.
Login credentials accepted on command-line orTop issues
#834coursera: deprecating API endpoint onDemandCourseMaterials.v154 comments · 2022-10-21#347ConnectionError: ('Connection aborted.', ResponseNotReady())36 comments · 2015-04-29#778AttributeError: 'HTMLParser' object has no attribute 'unescape'29 comments · 2020-10-08#331urllib3.poolmanager import is missing - something like that...!?27 comments · 2015-04-07#744403 client error, Forbidden for URL26 comments · 2020-01-07#690Error 400 when trying to download content23 comments · 2018-10-01#186Invite other forks to work along with us18 comments · 2013-08-30#773 400 Client Error: while using --list-courses17 comments · 2020-09-02