Package: linuxacademy-dl
A utility to download Linux Academy (linuxacademy.com) courses, for
personal offline use.Version1.0a4PrerequisitesPython (>=2.7.9 or >=3.5)pip(Python Install Packager)ffmpeg(Cross-platform solution to record, convert and stream
audio and video - Optional)If there are any missing packages, they will be automatically
installed bypipPreinstallIf you don’t havepipinstalled, look at theirinstall
doc. Easy
install (if you trust them) is to run their bootstrap installer directly
by using:sudo curl https://bootstrap.pypa.io/get-pip.py | sudo pythonInstalllinuxacademy-dlcan be installed usingpippip install linuxacademy-dlorpython -m pip install linuxacademy-dlIn OS X and Linux you need tosudoinstallinglinuxacademy-dlor
you may face some errorssudo pip install linuxacademy-dlAlso you need to usesudoinstallingpipitself or you run into
the same problem.Updatelinuxacademy-dlcan be updated usingpippip install --upgrade linuxacademy-dlorpython -m pip install --upgrade linuxacademy-dlIn OS X and Linux you need tosudoupgradelinuxacademy-dlsudo pip install--upgradelinuxacademy-dlDocker ImageDocker Image for this tool is also available. Justinstall the
Dockerin your machine
and use the following command to pull the image:docker pull vassim/linuxacademy-dlOnce you’ve finished pulling the image, you can run the container using
the following command. Replace<download-dir>with the folder
location where you want to put your downloaded contents.docker run -it -v "<download-dir>":"/media" vassim/linuxacademy-dlUsageSimply calllinuxacademy-dlwith the full URL to the course page.linuxacademy-dl https://linuxacademy.com/cp/modules/view/id/course_idorpython -m linuxacademy_dl https://linuxacademy.com/cp/modules/view/id/course_idlinuxacademy-dlwill ask for your username (or email address) and
password then start downloading the videos.By default,linuxacademy-dlwill download all the course materials
directly into the current working directory. If you wish to have the
files downloaded to a specific location, use the-o/path/to/directory/parameter.If you wish, you can include the username/email and password on the
command line using the -u and -p parameters.linuxacademy-dl -u user@domain.com -p $ecRe7w0rd https://linuxacademy.com/cp/modules/view/id/course_idFor information about all available parameters, use the--helpparameterlinuxacademy-dl --helpAdvanced Usageusage: linuxacademy-dl [-h] [-u USERNAME] [-p PASSWORD] [-o OUTPUT]
                       [--use-ffmpeg] [-q {1080,720,480,360}] [--debug] [-v]
                       link

Fetch all the lectures for a Linux Academy (linuxacademy.com) course

positional arguments:
  link                  Link for Linux Academy course

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Username / Email
  -p PASSWORD, --password PASSWORD
                        Password
  -o OUTPUT, --output OUTPUT
                        Output directory
  --use-ffmpeg          Download videos from m3u8/hls with ffmpeg
                        (Recommended)
  -q {1080,720,480,360}, --video-quality {1080,720,480,360}
                        Select video quality [default is 1080]
  --debug               Enable debug mode
  -v, --version         Display the version of linuxacademy-dl and exitUninstalllinuxacademy-dlcan be uninstalled usingpipsudo pip uninstall linuxacademy-dlYou may uninstall the dependant packages too but be aware that those
might be required for other Python modules.