mjbright / futurelearn-dl

A script to download materials from the FutureLearn website (for enrolled courses)
GNU General Public License v3.0
34 stars 20 forks source link
downloader enrolled-courses futurelearn-dl futurelearn-website

futurelearn-dl

An early Python3ic attempt at automating downloads from the FutureLearn website (for enrolled courses).

There are no doubt problems with this, but it seems to work on my initial tests

TESTED: Tested on Windows 8 under Cygwin, using Anaconda Python3. Should work for other installations ... YMMV

futurelearn-dl.py:

First attempt at a Python3 version.

Currently succeeds to obtain authenticity_token and to login using this token.

It then

TEST_futurelearn-dl.py.sh:

This is simply a template for calling futurelearn-dl.py.

Put your email, password and course_id as arguments within this file

Usage:

''' futurelearn-dl.py []

e.g.

for run 1 of data-to-insight

futurelearn-dl.py  user password data-to-insight 1

or to get just week1:

futurelearn-dl.py  user password data-to-insight 1 1

'''

Note: To override the temp file directory export TMP_DIR=/tmp

Note: To override the output file root directory export OP_DIR=/e/Education/FUTURELEARN

Note: Under cygwin, Anaconda I needed to set in the form <DRIVE:/path> e.g. export OP_DIR=e:/Education/FUTURELEARN

TODO: