Giter VIP home page Giter VIP logo

linkedin-learning-courses-downloader's Introduction

LinkedIn Learning Courses Downloader

A library and CLI to download LinkedIn learning courses using your LinkedIn Premium account

How to use

  • You need a valid and active LinkedIn Premium subscription
  • You need to have Node.js installed

Download dependencies

Go to the project directory using terminal & run

npm install

Create a params.json file

{
    "user": "[email protected]",
    "password": "yourpassword",
    "items": [
        "react-essential-training",
        "path/become-a-mern-stack-javascript-developer",
        "https://www.linkedin.com/learning/me/saved"
    ],
    "outputFolder": "./courses"
}
  • Fill in your credentials

  • Provide an array of items you wish to download. Each item is the URL (full or just last part) of either :

    • An individual course : https://www.linkedin.com/learning/final-cut-pro-x-10-4-4-essential-training

    • A learning path : https://www.linkedin.com/learning/paths/become-a-mern-stack-javascript-developer

      • All courses that are part of the learning path will be downloaded in the output folder with the other courses
      • Courses that are already part of the selection (i.e. included in another learning path) will not be downloaded again
      • As a reminder of the learning path content and order, a .txt file named after the learning path is outputed as well
    • A personal collection : https://www.linkedin.com/learning/collections/6595573961260707840

      • All courses that are part of the collection will be downloaded
      • If the collection includes an individual video (that is, only a part of the course), the whole course will be downloaded
    • The Saved Courses section of My Learning : https://www.linkedin.com/learning/me/saved

      • All your saved courses (outside of any collection) will be downloaded
    • The In Progress section of My Learning : https://www.linkedin.com/learning/me/in-progress

      • All courses that are in progress, including those that are part of a learning path, will be downloaded
    • The Learning History section of My Learning : https://www.linkedin.com/learning/me/completed

      • All completed courses will be downloaded

Run to download courses

$ npm start

If one of the courses or one of the courses' lessons already exists in the output path, it is not re-downloaded.

There is a 3-retries mechanism to deal with unavailable videos (due to network issues for instance). However, if a lesson video is eventually unreachable, the script logs a warning and goes on with the next videos. In that case, you could still re-run the script with the same parameters and only the unreachable videos will be downloaded again.

In progress...

This is a beta version and although it works, some better error handling will be done shortly. It has been tested with the latest LinkedIn Learning design change of early 2020, though.

In a near future, you can expect the following features :

  • Specifying course list from a LinkedIn Collection or Path
  • CLI version with multiple commands using a csv file instead of params.json
  • Optional download of transcripts
  • Optional download of exercise files

linkedin-learning-courses-downloader's People

Contributors

dependabot[bot] avatar lawrensylvan avatar saranshdhingra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.