Skip to content

Instantly share code, notes, and snippets.

@linuxwizard
Created May 26, 2017 02:41
Show Gist options
  • Save linuxwizard/283f6e278f535bdc49ddc5418f1978ca to your computer and use it in GitHub Desktop.
Save linuxwizard/283f6e278f535bdc49ddc5418f1978ca to your computer and use it in GitHub Desktop.
#To download a list of courses from LinuxAcademy through a simple script.
#go through
#Substitute /<download-directory>/<course-directory> with the path to download
#download Utility from https://github.com/vassim/linuxacademy-dl
#Substitute course IDs in the loop
#!/bin/bash
for i in 33 45 48 49
do
mkdir /<download-directory>/<course-directory>/$i
cd /linuxacademy/devops/$i
linuxacademy-dl -u <email-ID> -p <Password> --use-ffmpeg -q 720 https://linuxacademy.com/cp/modules/view/id/$i
cd /<download-directory>/<course-directory>
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment