<a href="http://coursera.org" rel="nofollow">http://coursera.org</a> is creating some fantastic, free educational videos (algorithms, machine learning, natural language processing, SaaS).<p>This script allows one to batch download videos for a Coursera class. Given a class name and related cookie file, it scrapes the course listing page to get the week and class names, and then downloads the related videos into appropriately named files and directories.<p>Why is this helpful? Before I was using wget, but I had the following problems:<p><pre><code> 1. Video names have a number in them, but this does not correspond to the
actual order. Manually renaming them is a pain.
2. Using names from the syllabus page provides more informative names.
3. Using a wget in a forloop picks up extra videos which are not posted/linked,
and these are sometimes duplicates.
</code></pre>
Naming is intentionally verbose, so that it will display and sort properly using MX Video on my Andriod phone.<p>Inspired in part by youtube-dl (<a href="http://rg3.github.com/youtube-dl" rel="nofollow">http://rg3.github.com/youtube-dl</a>) by which I've downloaded many other good videos such those from Khan Academy.<p>Let me know if you like it.