Help us shape the future of Go! Take the 2026 Go Developer Survey

lld

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2025 License: MIT Imports: 14 Imported by: 0

README

LinkedIn Learning Downloader (lld)

Overview

lld is a tool designed to download course videos and transcripts from LinkedIn Learning. It automates the process of scraping course content, saving videos, and generating transcripts in both .txt and .json formats. I got tired of fighting the LinkedInLearning API, and other Python programs, so I broken down and wrote this with chromedp.

Features

  • SSO Login: Supports enterprise Single Sign-On (SSO) for authentication.
  • Video Download: Automatically downloads course videos in .mp4 format.
  • Transcript Extraction: Extracts and saves transcripts in .txt or .json formats.
  • Course Parsing: Parses course structure to identify sections and videos.

Requirements

  • Go: Ensure Go is installed on your system.
  • Chromedp: Used for browser automation.
  • LinkedIn Learning Account: Required to access course content.

Installation

  1. Clone the repository:

    git clone https://github.com/jh125486/lld.git
    cd lld
    
  2. Install dependencies:

    go mod tidy
    

Usage

  1. Build the tool:

    go build -o lld
    
  2. Run the tool with the course URL:

    ./lld -courseURL="https://www.linkedin.com/learning/course-name"
    
  3. Required flags:

    • -course: The URL of the LinkedIn Learning course you want to download.
    • -sso: The URL for enterprise Single Sign-On (SSO).

One of the following flags is also required: - -transcripts: Download transcripts. - -videos: Download videos.

  1. Optional flags:
    • -json: Save transcripts in .json format.
    • -backoff: Set a custom backoff time for retries.
    • -timeout: Set a custom timeout for browser operations.
Example command:
./lld go run . \
   -sso 'http://www.linkedin.com/checkpoint/enterprise/login/74650474?application=learning&appInstanceId=46437124&authModeId=6536630950934134784' \
   -course 'https://www.linkedin.com/learning/how-to-speak-smarter-when-put-on-the-spot/spontaneity-takes-preparation-20294708?u=74650474' \
   -transcripts \
   -json \
   -videos

Notes

  • Ensure you have access to the course content before using the tool.
  • Use responsibly and adhere to LinkedIn Learning's terms of service.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL