A Pivot From Biochemistry to Data Science

The realm of data science was a mere curiosity initially but now has become my reality. I look back to my first three weeks here at Flatiron School, and beg the question to be answered of, how did I…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to download all contents in Coursera courses automatically.

This article is just a memo for me that remind me of how to download Coursera contents, such as videos and scripts, to my own computer using coursera-dl.

Python environment is required, but even windows is OK for using this tool.

Simply, You can install via typing the command below.

This is a one of many options of installation. If you need another option, please check it’s README in Github.

Place the file namely ‘coursera-dl.conf’ in the directory where to use coursera-dl command.

The example of the format is below.

Now, you can use coursera-dl.

You can get the course name in the url of the course you would like to get contents.

For example, if you would like to get the contents in a course below,

you should type the command below.

Then, coursera-dl starts downloading. In the end, you can see like the file structure like below images.

Root Directory of the course.

And Importantly, please note that when you use coursera-dl command, coursera-dl might get error with “400 Bad request” at the coursera authentication process.

To get avoid this, We need a pache mentioned in this comment and need a cookies.txt of coursera.

That’s it. Thanks!

Add a comment

Related posts:

Into the Horst

Dies ist Radiorebell Episode 71 mit dem Wochenendrebellen-Wochenrückblick Nummer elf, kurz #wrwr11, eines von zwei Formaten innerhalb des Radiorebell-Podcasts. Jede Woche blicken wir auf unsere ganz…

Apenas mais um sobre borderline

Transtorno de personalidade limítrofe está sendo chamado de flerte quando você não tem idéia de como se aproximar de pessoas como você sem seduzi-las. A personalidade borderline está sendo chamada de…

Compassionate Communication

You can have brilliant ideas, but if you can’t convey them to people around you, your team, your customers, they will not go anywhere. Compassionate communication is key. It applies to all aspects of…