/python-scripts

Python Scrapping Scripts

Primary LanguagePython

Linkedin Learning Downloader

built with Requests built with Python2.7

A scraping tool that downloads video lessons from Linkedin Learning

Features:

  • Implemented in python using requests.
  • Downloading complete courses: course description, videos, exercise files and subtitles.
  • Numbering of chapters, videos and subtitles.
  • Subtitles will have the same name as the video file, so players like MPC-HC will automatically load the subtitles when playing a video file.

How to use

First install the requirements:

pip install -r requirements.txt

The config.py should look like this (config.py.dist included):

USERNAME = 'user@email.com'
PASSWORD = 'password'
BASE_DOWNLOAD_PATH = '/home/user/Downloads/LinkedInLearning'
SUBS = True
COURSES = [
    'last-segment-of-url'
]
  1. Enter your login info and download path.

  2. Fill the COURSES array with the slug of the the courses you want to download and save the config file, for example: https://www.linkedin.com/learning/it-security-foundations-core-concepts/ -> it-security-foundations-core-concepts

Then execute the script:

python lld.py

The courses will be saved in your defined download folder.