As Coursera doesn’t simply use HTTP basic authentication to protect access to the slides and videos of their courses, using curl or wget to download them is not an option.
Conveniently, there’s already a python script that can do this (and even names the files properly):