This software automatically downloads and saves all videos of a specific course from LinkedIn Learning. A subscription is necessary to login and parse the course structure.
Find the method main
and edit the URL of your course:
public static void main(String[] args) throws IOException {
final String COURSE = "https://www.linkedin.com/learning/craft-a-great-github-profile/";
Authenticator authenticator = new Authenticator();
authenticator.login(COURSE);
}
Specify your credentials and your directory in the class Constants
:
public class Constants {
public static final String USERNAME = "yourUsername"; // TODO: your LinkedIn username
public static final String PASSWORD = "yourPassword"; // TODO: your LinkedIn password
public static final String BASEDIR = "/home/user/videos/"; // TODO: your videos directory
// ...
}
As you can see, even the proper folder structure will be maintained:
Note: I created this program for educational purposes only! Use at your own risk!