akinuri / llvd

Linkedin Learning Video Downloader
https://pypi.org/project/llvd
MIT License
0 stars 0 forks source link
Table of Contents

Linkedin Learning Video Downloader (LLVD) download links

Downloads Open Source Love Open Source Love

Features

Status Feature
cookie-based authentication
download by learning path
download a course and all its exercises
group videos by chapters
subtitles
nice progress bar
resume failed downloads
skip already downloaded videos
set video format (360p, 540p, 720p)
all platforms

Prerequisites

Installation

$ pip --no-cache-dir install llvd

If you have multiple versions of python installed in your system, use pip3 instead.

$ pip3 --no-cache-dir install llvd

Running from local installation

llvd --help
llvd -c "course-slug" -r 720

Running from docker container

# You will need to either use `docker cp` to get the course or mount it when running.
docker run ghcr.io/knowbee/llvd:master -c "course-slug" -r 720

Windows Users

When you get 'llvd' is not recognized as an internal or external command after successfully installing llvd, run python3 -m llvd <flags>

Common Questions

How do I find the course slug?

  1. Click on the desired course
  2. Your URl will look something like, https://www.linkedin.com/learning/l-essentiel-d-asp-dot-net-core-pour-dot-net-5
    • The course slug is: l-essentiel-d-asp-dot-net-core-pour-dot-net-5

How do I setup cookie-based authentication?

  1. Click on the options in Google Chrome (top right with 3 vertical dots).
  2. Click on More tools -> Developer tools
    • You can also reach here by using the keyboard combination: ctrl+shift+I).
  3. Now once you’ve gained access to the developer tools, navigate to the Application tab, and copy the value of two cookies named li_at and JSESSIONID
  4. Create a file named cookies.txt and place it in the folder you want to download your courses to
  5. Open the cookies.txt file and paste in the values of li_at and JSESSIONID
li_at=xxxxx
JSESSIONID="ajax:xxxxxx"

Examples

Accessing llvd documentation

$ llvd --help

Using cookie-based authentication

$ llvd -c "course-slug" --cookies

Download a course at a specific resolution

$ llvd -c "course-slug" -r 720

Note: The default is set to 720.

Download a course with subtitles


    $ llvd -c "course-slug" --caption

or


    $ llvd -c "course-slug" -ca

Download a course path with throttling between 10 to 30 seconds

To avoid rate limits because of downloading a lot of videos, use the following:

$ llvd -p "path-slug" -t 10,30

Screenshots

Author

Igwaneza Bruce