Please forgive me some mistakes, I wrote this a bit in a hurry.
===========================
1) Spawn a virtual server on DigitalOcean.
I am using the 40$/month in order to have 40GB of space, but my plan is to shut it down in a day or two.
The advantage is to have storage space AND super-fast connection.
If you don't want to spend money, here is my referral code:
https://m.do.co/c/867be540644c
This will give you 10$ credit for free.
2) Install screen, python-virtualenv, python3, python3-pip
3) edit ~/.bash_aliases:
#!/usr/bin/env bash
alias download="./coursera-dl -u <<username>> -p <<password>>"
alias download_preview="./coursera-dl -b -u <<username>> -p <<password>>"
4) Install coursera-dl: see https://github.com/coursera-dl/coursera-dl#alternative-insta...name the virtualenv "coursera", and place it in the root home directory
5) patch to use python3:
* pip3 install -r requirements.txt * patch coursera/coursera.dl:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
Becomes: #!/usr/bin/env python3
# -*- coding: utf-8 -*-
6) Edit ~/.bashrcAdd this lines at the end of the file:
cd coursera
source bin/activate
cd coursera
=======================The setup process is done. Here is how to use it:
1) Start a screen session: `screen -S coursera`
download_preview compilers-004
you can download more courses in parallel by creating another window (C-a c) and typing donwload_preview $coursename.