As coursera-dl and edx-dl have existed for a while I just assumed that a futurelearn-dl would be created soon ... real soon ... real soon now ...
But it didn't happen.
I signed up for FutureLearn courses, as you do, and I didn't follow them all as I couldn't carry the videos around with me on my tablet (I have a 45 min commute morning and evening, will also be mainly "offline" in Chile soon).
I would search occasionally for the fabled futurelearn-dl ... with no luck.
Then a year ago there was hope when someone posted a gist of a futurelearn_dl.sh, see here.
So I tried that, I modified it a bit and I managed to semi-automatically download some videos from an FL course, but it was semi-manual ... no good.
Anyway, yesterday I tried again with my modified bash script but I couldn't get it to work, couldn't get it to login anymore. But as some people had requested that I post my modified version I decided to swallow my pride and create a repo in the hope that someone else would get it working.
But the shame of that badly coded, unworking bash script was too much so I thought well we'll see how far I get with a Python3 version ...
Surprise, less than 24 hours later I have a less than 600-line Python3 script which does the job ... mostly ...
Basically I do
futurelearn-dl.py myaccount mypassword data-to-insight 2
to download all available material from run 1 of the currently running 'data-to-insight' course,
futurelearn-dl.py myaccount mypassword data-to-insight 2 1
to download just week 1.
You can obtain the course id 'data-to-insight' and the course run number '2' in this case by logging
into the site and navigating to the appropriate course page:
From the URL we can see the course_id and the run number.
The repo I created is here:
Let me know if it's any use, and file issues for any problems (I won't have much time until December I'm afraid).
Time to do my homework ... well, maybe I'll just head outdoors instead ... it's healthier !